home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Super Munchers
/
Sample Application
/
Sample Application.rsrc
/
CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1993-06-23
|
549KB
|
10,099 lines
# near model CODE resource
# jump table entries: 0-106 (107 of them)
export_1:
00000000 4E56 FEFE link A6, -0x0102
00000004 48E7 0118 movem.l -[A7], D7,A3,A4
00000008 47EE FF00 lea.l A3, [A6 - 0x100]
0000000C 3E3C 07D3 move.w D7, 0x7D3
00000010 2F0B move.l -[A7], A3
00000012 302E 000A move.w D0, [A6 + 0xA]
00000016 48C0 ext.l D0
00000018 2F00 move.l -[A7], D0
0000001A 4EAD 0382 jsr [A5 + 0x382 /* export_108 */]
0000001E 2F0B move.l -[A7], A3
00000020 2F0B move.l -[A7], A3
00000022 4EBA 0070 jsr [PC + 0x70 /* 00000094 */]
00000026 2F0B move.l -[A7], A3
00000028 486D DADE pea.l [A5 - 0x2522]
0000002C 7000 moveq.l D0, 0x00
0000002E 2F00 move.l -[A7], D0
00000030 2F00 move.l -[A7], D0
00000032 A98B syscall ParamText
00000034 48C7 ext.l D7
00000036 2F07 move.l -[A7], D7
00000038 4EBA 017E jsr [PC + 0x17E /* 000001B8 */]
0000003C 2840 movea.l A4, D0
0000003E 200C move.l D0, A4
00000040 4FEF 0014 lea.l A7, [A7 + 0x14]
00000044 6730 beq +0x32 /* 00000076 */
00000046 2F0C move.l -[A7], A4
00000048 7000 moveq.l D0, 0x00
0000004A 2F00 move.l -[A7], D0
0000004C A918 syscall SetWRefCon
0000004E 4A2D DC9C tst.b [A5 - 0x2364]
00000052 6614 bne +0x16 /* 00000068 */
label00000054:
00000054 7000 moveq.l D0, 0x00
00000056 2F00 move.l -[A7], D0
00000058 486E FEFE pea.l [A6 - 0x102]
0000005C A991 syscall ModalDialog
0000005E 7001 moveq.l D0, 0x01
00000060 B06E FEFE cmp.w D0, [A6 - 0x102]
00000064 66EE bne -0x10 /* 00000054 */
00000066 6008 bra +0xA /* 00000070 */
label00000068:
00000068 2F0C move.l -[A7], A4
0000006A 4EBA 01BA jsr [PC + 0x1BA /* 00000226 */]
0000006E 584F addq.w A7, 4
label00000070:
00000070 2F0C move.l -[A7], A4
00000072 A983 syscall DisposeDialog
00000074 6014 bra +0x16 /* 0000008A */
label00000076:
00000076 486D D358 pea.l [A5 - 0x2CA8]
0000007A 558F subq.l A7, 2
0000007C A9AF syscall ResError
0000007E 301F move.w D0, [A7]+
00000080 48C0 ext.l D0
00000082 2F00 move.l -[A7], D0
00000084 4EBA 2F20 jsr [PC + 0x2F20 /* 00002FA6 */]
00000088 504F addq.w A7, 8
label0000008A:
0000008A 4CEE 1880 FEF2 movem.l D7,A3,A4, [A6 - 0x10E]
00000090 4E5E unlink A6
00000092 4E75 rts
fn00000094:
00000094 4E56 FFFE link A6, -0x0002
00000098 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000009C 266E 0008 movea.l A3, [A6 + 0x8]
000000A0 286E 000C movea.l A4, [A6 + 0xC]
000000A4 4205 clr.b D5
000000A6 7801 moveq.l D4, 0x01
000000A8 7E01 moveq.l D7, 0x01
000000AA 1D53 FFFF move.b [A6 - 0x1], [A3]
label000000AE:
000000AE 3004 move.w D0, D4
000000B0 5244 addq.w D4, 1
000000B2 1C33 0000 move.b D6, [A3 + D0.w]
000000B6 1006 move.b D0, D6
000000B8 0400 005E subi.b D0, 0x5E /* '^' */
000000BC 6734 beq +0x36 /* 000000F2 */
000000BE 0400 001E subi.b D0, 0x1E
000000C2 672E beq +0x30 /* 000000F2 */
000000C4 5500 subq.b D0, 2
000000C6 6702 beq +0x4 /* 000000CA */
000000C8 6012 bra +0x14 /* 000000DC */
label000000CA:
000000CA 48C7 ext.l D7
000000CC 200C move.l D0, A4
000000CE D087 add.l D0, D7
000000D0 2040 movea.l A0, D0
000000D2 10BC 0020 move.b [A0], 0x20 /* ' ' */
000000D6 5247 addq.w D7, 1
000000D8 5205 addq.b D5, 1
000000DA 6016 bra +0x18 /* 000000F2 */
label000000DC:
000000DC 7000 moveq.l D0, 0x00
000000DE 1006 move.b D0, D6
000000E0 727F moveq.l D1, 0x7F
000000E2 C200 and.b D1, D0
000000E4 48C7 ext.l D7
000000E6 200C move.l D0, A4
000000E8 D087 add.l D0, D7
000000EA 2040 movea.l A0, D0
000000EC 1081 move.b [A0], D1
000000EE 5247 addq.w D7, 1
000000F0 5205 addq.b D5, 1
label000000F2:
000000F2 7000 moveq.l D0, 0x00
000000F4 102E FFFF move.b D0, [A6 - 0x1]
000000F8 B044 cmp.w D0, D4
000000FA 6CB2 bge -0x4C /* 000000AE */
000000FC 1885 move.b [A4], D5
000000FE 4CEE 18F0 FFE6 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x1A]
00000104 4E5E unlink A6
00000106 4E75 rts
export_2:
00000108 4E56 FDFE link A6, -0x0202
0000010C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000110 47EE FF00 lea.l A3, [A6 - 0x100]
00000114 3C2E 000A move.w D6, [A6 + 0xA]
00000118 486E FE00 pea.l [A6 - 0x200]
0000011C 3F3C 0BB9 move.w -[A7], 0xBB9
00000120 7005 moveq.l D0, 0x05
00000122 2F00 move.l -[A7], D0
00000124 4EBA 0990 jsr [PC + 0x990 /* 00000AB6 */]
00000128 5240 addq.w D0, 1
0000012A 588F addq.l A7, 4
0000012C 3F00 move.w -[A7], D0
0000012E 4EBA 5AB0 jsr [PC + 0x5AB0 /* 00005BE0 */]
00000132 558F subq.l A7, 2
00000134 A9AF syscall ResError
00000136 3E1F move.w D7, [A7]+
00000138 6612 bne +0x14 /* 0000014C */
0000013A 2F0B move.l -[A7], A3
0000013C 3F3C 0BB8 move.w -[A7], 0xBB8
00000140 3F06 move.w -[A7], D6
00000142 4EBA 5A9C jsr [PC + 0x5A9C /* 00005BE0 */]
00000146 558F subq.l A7, 2
00000148 A9AF syscall ResError
0000014A 3E1F move.w D7, [A7]+
label0000014C:
0000014C 4A47 tst.w D7
0000014E 664C bne +0x4E /* 0000019C */
00000150 486E FE00 pea.l [A6 - 0x200]
00000154 2F0B move.l -[A7], A3
00000156 7000 moveq.l D0, 0x00
00000158 2F00 move.l -[A7], D0
0000015A 2F00 move.l -[A7], D0
0000015C A98B syscall ParamText
0000015E 4878 07D2 push.l 0x7D2
00000162 4EBA 0054 jsr [PC + 0x54 /* 000001B8 */]
00000166 2840 movea.l A4, D0
00000168 200C move.l D0, A4
0000016A 584F addq.w A7, 4
0000016C 6608 bne +0xA /* 00000176 */
0000016E 558F subq.l A7, 2
00000170 A9AF syscall ResError
00000172 3E1F move.w D7, [A7]+
00000174 6026 bra +0x28 /* 0000019C */
label00000176:
00000176 2F0C move.l -[A7], A4
00000178 48C6 ext.l D6
0000017A 2F06 move.l -[A7], D6
0000017C A918 syscall SetWRefCon
0000017E 4A2D DC9C tst.b [A5 - 0x2364]
00000182 660C bne +0xE /* 00000190 */
00000184 7000 moveq.l D0, 0x00
00000186 2F00 move.l -[A7], D0
00000188 486E FDFE pea.l [A6 - 0x202]
0000018C A991 syscall ModalDialog
0000018E 6008 bra +0xA /* 00000198 */
label00000190:
00000190 2F0C move.l -[A7], A4
00000192 4EBA 0092 jsr [PC + 0x92 /* 00000226 */]
00000196 584F addq.w A7, 4
label00000198:
00000198 2F0C move.l -[A7], A4
0000019A A983 syscall DisposeDialog
label0000019C:
0000019C 4A47 tst.w D7
0000019E 670E beq +0x10 /* 000001AE */
000001A0 486D D364 pea.l [A5 - 0x2C9C]
000001A4 48C7 ext.l D7
000001A6 2F07 move.l -[A7], D7
000001A8 4EBA 2DFC jsr [PC + 0x2DFC /* 00002FA6 */]
000001AC 504F addq.w A7, 8
label000001AE:
000001AE 4CEE 18C0 FDEE movem.l D6,D7,A3,A4, [A6 - 0x212]
000001B4 4E5E unlink A6
000001B6 4E75 rts
fn000001B8:
000001B8 4E56 FFF2 link A6, -0x000E
000001BC 2F0C move.l -[A7], A4
000001BE 302E 000A move.w D0, [A6 + 0xA]
000001C2 48C0 ext.l D0
000001C4 2F00 move.l -[A7], D0
000001C6 4EBA 0A52 jsr [PC + 0xA52 /* 00000C1A */]
000001CA 2840 movea.l A4, D0
000001CC 2F0C move.l -[A7], A4
000001CE 7002 moveq.l D0, 0x02
000001D0 3F00 move.w -[A7], D0
000001D2 486E FFFE pea.l [A6 - 0x2]
000001D6 486E FFFA pea.l [A6 - 0x6]
000001DA 486E FFF2 pea.l [A6 - 0xE]
000001DE A98D syscall GetDialogItem/GetDItem
000001E0 2F0C move.l -[A7], A4
000001E2 7002 moveq.l D0, 0x02
000001E4 3F00 move.w -[A7], D0
000001E6 3F2E FFFE move.w -[A7], [A6 - 0x2]
000001EA 486D 007A pea.l [A5 + 0x7A /* export_11 */]
000001EE 486E FFF2 pea.l [A6 - 0xE]
000001F2 A98E syscall SetDialogItem/SetDItem
000001F4 2F0C move.l -[A7], A4
000001F6 7004 moveq.l D0, 0x04
000001F8 3F00 move.w -[A7], D0
000001FA 486E FFFE pea.l [A6 - 0x2]
000001FE 486E FFFA pea.l [A6 - 0x6]
00000202 486E FFF2 pea.l [A6 - 0xE]
00000206 A98D syscall GetDialogItem/GetDItem
00000208 2F0C move.l -[A7], A4
0000020A 7004 moveq.l D0, 0x04
0000020C 3F00 move.w -[A7], D0
0000020E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000212 486D 0042 pea.l [A5 + 0x42 /* export_4 */]
00000216 486E FFF2 pea.l [A6 - 0xE]
0000021A A98E syscall SetDialogItem/SetDItem
0000021C 200C move.l D0, A4
0000021E 286E FFEE movea.l A4, [A6 - 0x12]
00000222 4E5E unlink A6
00000224 4E75 rts
fn00000226:
00000226 4E56 FFFE link A6, -0x0002
0000022A 48E7 0108 movem.l -[A7], D7,A4
0000022E 286E 0008 movea.l A4, [A6 + 0x8]
00000232 2F0C move.l -[A7], A4
00000234 7001 moveq.l D0, 0x01
00000236 3F00 move.w -[A7], D0
00000238 A827 syscall HideDialogItem/HideDItem
0000023A 2F0C move.l -[A7], A4
0000023C 7002 moveq.l D0, 0x02
0000023E 3F00 move.w -[A7], D0
00000240 A827 syscall HideDialogItem/HideDItem
00000242 2F0C move.l -[A7], A4
00000244 7005 moveq.l D0, 0x05
00000246 3F00 move.w -[A7], D0
00000248 A827 syscall HideDialogItem/HideDItem
0000024A 598F subq.l A7, 4
0000024C A975 syscall TickCount
0000024E 2E1F move.l D7, [A7]+
00000250 DEBC 0000 012C add.l D7, 0x12C
label00000256:
00000256 486D 003A pea.l [A5 + 0x3A /* export_3 */]
0000025A 486E FFFE pea.l [A6 - 0x2]
0000025E A991 syscall ModalDialog
00000260 7001 moveq.l D0, 0x01
00000262 B06E FFFE cmp.w D0, [A6 - 0x2]
00000266 6708 beq +0xA /* 00000270 */
00000268 598F subq.l A7, 4
0000026A A975 syscall TickCount
0000026C BE9F cmp.l D7, [A7]+
0000026E 62E6 bhi -0x18 /* 00000256 */
label00000270:
00000270 4CEE 1080 FFF6 movem.l D7,A4, [A6 - 0xA]
00000276 4E5E unlink A6
00000278 4E75 rts
export_3:
0000027A 4E56 0000 link A6, 0
0000027E 48E7 0018 movem.l -[A7], A3,A4
00000282 266E 0008 movea.l A3, [A6 + 0x8]
00000286 286E 000C movea.l A4, [A6 + 0xC]
0000028A 4EBA 0100 jsr [PC + 0x100 /* 0000038C */]
0000028E 7003 moveq.l D0, 0x03
00000290 B054 cmp.w D0, [A4]
00000292 6706 beq +0x8 /* 0000029A */
00000294 7001 moveq.l D0, 0x01
00000296 B054 cmp.w D0, [A4]
00000298 660C bne +0xE /* 000002A6 */
label0000029A:
0000029A 36BC 0001 move.w [A3], 0x1
0000029E 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
000002A4 601E bra +0x20 /* 000002C4 */
label000002A6:
000002A6 7002 moveq.l D0, 0x02
000002A8 2F00 move.l -[A7], D0
000002AA 4EBA 080A jsr [PC + 0x80A /* 00000AB6 */]
000002AE 4A40 tst.w D0
000002B0 584F addq.w A7, 4
000002B2 670C beq +0xE /* 000002C0 */
000002B4 36BC 0005 move.w [A3], 0x5
000002B8 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
000002BE 6004 bra +0x6 /* 000002C4 */
label000002C0:
000002C0 422E 0014 clr.b [A6 + 0x14]
label000002C4:
000002C4 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000002CA 4E5E unlink A6
000002CC 205F movea.l A0, [A7]+
000002CE 4FEF 000C lea.l A7, [A7 + 0xC]
000002D2 4ED0 jmp [A0]
export_4:
000002D4 4E56 FFFC link A6, -0x0004
000002D8 2F07 move.l -[A7], D7
000002DA 3D7C 0005 FFFE move.w [A6 - 0x2], 0x5
000002E0 3D7C 0005 FFFC move.w [A6 - 0x4], 0x5
000002E6 598F subq.l A7, 4
000002E8 2F2E 000A move.l -[A7], [A6 + 0xA]
000002EC A917 syscall GetWRefCon
000002EE 201F move.l D0, [A7]+
000002F0 3E00 move.w D7, D0
000002F2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000002F6 700C moveq.l D0, 0x0C
000002F8 2F00 move.l -[A7], D0
000002FA 48C7 ext.l D7
000002FC 2F07 move.l -[A7], D7
000002FE 4EAD 0512 jsr [A5 + 0x512 /* export_158 */]
00000302 2E2E FFF8 move.l D7, [A6 - 0x8]
00000306 4E5E unlink A6
00000308 205F movea.l A0, [A7]+
0000030A 5C4F addq.w A7, 6
0000030C 4ED0 jmp [A0]
export_5:
0000030E 4E56 0000 link A6, 0
00000312 4A2D D3C9 tst.b [A5 - 0x2C37]
00000316 57C0 seq D0
00000318 4400 neg.b D0
0000031A 1D40 0008 move.b [A6 + 0x8], D0
0000031E 4E5E unlink A6
00000320 4E75 rts
export_6:
fn00000322:
00000322 4E56 0000 link A6, 0
00000326 1D6D D3CF 0008 move.b [A6 + 0x8], [A5 - 0x2C31]
0000032C 4E5E unlink A6
0000032E 4E75 rts
export_7:
fn00000330:
00000330 4E56 0000 link A6, 0
00000334 1D6D D3CE 0008 move.b [A6 + 0x8], [A5 - 0x2C32]
0000033A 4E5E unlink A6
0000033C 4E75 rts
export_8:
0000033E 4E56 FFF4 link A6, -0x000C
00000342 2F07 move.l -[A7], D7
00000344 206E 0008 movea.l A0, [A6 + 0x8]
00000348 43EE FFF8 lea.l A1, [A6 - 0x8]
0000034C 22D8 move.l [A1]+, [A0]+
0000034E 22D8 move.l [A1]+, [A0]+
00000350 0C6E 1234 FFFA cmpi.w [A6 - 0x6], 0x1234
00000356 662A bne +0x2C /* 00000382 */
00000358 42A7 clr.l -[A7]
0000035A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000035E 2F4D 0004 move.l [A7 + 0x4], A5
00000362 2A5F movea.l A5, [A7]+
00000364 2E1F move.l D7, [A7]+
00000366 206E 000C movea.l A0, [A6 + 0xC]
0000036A 70FF moveq.l D0, 0xFFFFFFFF
0000036C 2140 000C move.l [A0 + 0xC], D0
00000370 1B7C 0001 D3CF move.b [A5 - 0x2C31], 0x1
00000376 42A7 clr.l -[A7]
00000378 2F07 move.l -[A7], D7
0000037A 2F4D 0004 move.l [A7 + 0x4], A5
0000037E 2A5F movea.l A5, [A7]+
00000380 2E1F move.l D7, [A7]+
label00000382:
00000382 2E1F move.l D7, [A7]+
00000384 4E5E unlink A6
00000386 205F movea.l A0, [A7]+
00000388 504F addq.w A7, 8
0000038A 4ED0 jmp [A0]
fn0000038C:
0000038C 4E56 0000 link A6, 0
00000390 48E7 0108 movem.l -[A7], D7,A4
00000394 49ED D3E2 lea.l A4, [A5 - 0x2C1E]
00000398 558F subq.l A7, 2
0000039A 4EBA FF86 jsr [PC - 0x7A /* 00000322 */]
0000039E 4A1F tst.b [A7]+
000003A0 6718 beq +0x1A /* 000003BA */
000003A2 4EAD 058A jsr [A5 + 0x58A /* export_173 */]
000003A6 558F subq.l A7, 2
000003A8 4EBA FF86 jsr [PC - 0x7A /* 00000330 */]
000003AC 4A1F tst.b [A7]+
000003AE 660A bne +0xC /* 000003BA */
000003B0 4A2D D3E0 tst.b [A5 - 0x2C20]
000003B4 6704 beq +0x6 /* 000003BA */
000003B6 422D D3E0 clr.b [A5 - 0x2C20]
label000003BA:
000003BA 4A6D D3F8 tst.w [A5 - 0x2C08]
000003BE 6710 beq +0x12 /* 000003D0 */
000003C0 558F subq.l A7, 2
000003C2 4EBA FF6C jsr [PC - 0x94 /* 00000330 */]
000003C6 4A1F tst.b [A7]+
000003C8 663E bne +0x40 /* 00000408 */
000003CA 4EAD 05C2 jsr [A5 + 0x5C2 /* export_180 */]
000003CE 6038 bra +0x3A /* 00000408 */
label000003D0:
000003D0 4A6D D3F6 tst.w [A5 - 0x2C0A]
000003D4 6732 beq +0x34 /* 00000408 */
000003D6 3014 move.w D0, [A4]
000003D8 48C0 ext.l D0
000003DA 2F00 move.l -[A7], D0
000003DC 4EAD 05A2 jsr [A5 + 0x5A2 /* export_176 */]
000003E0 302D D3F6 move.w D0, [A5 - 0x2C0A]
000003E4 536D D3F6 subq.w [A5 - 0x2C0A], 1
000003E8 4247 clr.w D7
000003EA 584F addq.w A7, 4
000003EC 6014 bra +0x16 /* 00000402 */
label000003EE:
000003EE 48C7 ext.l D7
000003F0 2007 move.l D0, D7
000003F2 D040 add.w D0, D0
000003F4 2207 move.l D1, D7
000003F6 D241 add.w D1, D1
000003F8 39B4 0002 1000 move.w [A4 + D1.w], [A4 + D0.w + 0x2]
000003FE 3007 move.w D0, D7
00000400 5247 addq.w D7, 1
label00000402:
00000402 BE6D D3F6 cmp.w D7, [A5 - 0x2C0A]
00000406 6DE6 blt -0x18 /* 000003EE */
label00000408:
00000408 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
0000040E 4E5E unlink A6
00000410 4E75 rts
export_9:
fn00000412:
00000412 4E56 0000 link A6, 0
00000416 206E 000C movea.l A0, [A6 + 0xC]
0000041A 226E 0008 movea.l A1, [A6 + 0x8]
0000041E 7000 moveq.l D0, 0x00
00000420 1010 move.b D0, [A0]
label00000422:
00000422 12D8 move.b [A1]+, [A0]+
00000424 51C8 FFFC dbf D0, -0x6 /* 00000422 */
00000428 4E5E unlink A6
0000042A 205F movea.l A0, [A7]+
0000042C 504F addq.w A7, 8
0000042E 4ED0 jmp [A0]
fn00000430:
00000430 4E56 0000 link A6, 0
00000434 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
00000438 246E 0010 movea.l A2, [A6 + 0x10]
0000043C 266E 0008 movea.l A3, [A6 + 0x8]
00000440 7A00 moveq.l D5, 0x00
00000442 1A2E 000E move.b D5, [A6 + 0xE]
00000446 7600 moveq.l D3, 0x00
00000448 162E 000C move.b D3, [A6 + 0xC]
0000044C 3803 move.w D4, D3
0000044E 4444 neg.w D4
00000450 200B move.l D0, A3
00000452 673C beq +0x3E /* 00000490 */
00000454 7800 moveq.l D4, 0x00
00000456 1813 move.b D4, [A3]
00000458 9843 sub.w D4, D3
0000045A 6F1C ble +0x1E /* 00000478 */
0000045C 7C00 moveq.l D6, 0x00
0000045E 1C12 move.b D6, [A2]
00000460 3E06 move.w D7, D6
00000462 9E45 sub.w D7, D5
00000464 9E43 sub.w D7, D3
00000466 D91A add.b [A2]+, D4
00000468 D4C6 add.w A2, D6
0000046A 284A movea.l A4, A2
0000046C D8C4 add.w A4, D4
0000046E 6002 bra +0x4 /* 00000472 */
label00000470:
00000470 1922 move.b -[A4], -[A2]
label00000472:
00000472 51CF FFFC dbf D7, -0x6 /* 00000470 */
00000476 600A bra +0xC /* 00000482 */
label00000478:
00000478 284A movea.l A4, A2
0000047A D8C5 add.w A4, D5
0000047C D8C3 add.w A4, D3
0000047E D8C4 add.w A4, D4
00000480 524C addq.w A4, 1
label00000482:
00000482 7E00 moveq.l D7, 0x00
00000484 1E1B move.b D7, [A3]+
00000486 D6C7 add.w A3, D7
00000488 6002 bra +0x4 /* 0000048C */
label0000048A:
0000048A 1923 move.b -[A4], -[A3]
label0000048C:
0000048C 51CF FFFC dbf D7, -0x6 /* 0000048A */
label00000490:
00000490 4A44 tst.w D4
00000492 6C1C bge +0x1E /* 000004B0 */
00000494 7E00 moveq.l D7, 0x00
00000496 1E12 move.b D7, [A2]
00000498 9E45 sub.w D7, D5
0000049A 9E43 sub.w D7, D3
0000049C D912 add.b [A2], D4
0000049E D4C5 add.w A2, D5
000004A0 D4C3 add.w A2, D3
000004A2 524A addq.w A2, 1
000004A4 284A movea.l A4, A2
000004A6 D8C4 add.w A4, D4
000004A8 6002 bra +0x4 /* 000004AC */
label000004AA:
000004AA 18DA move.b [A4]+, [A2]+
label000004AC:
000004AC 51CF FFFC dbf D7, -0x6 /* 000004AA */
label000004B0:
000004B0 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
000004B4 4E5E unlink A6
000004B6 205F movea.l A0, [A7]+
000004B8 4FEF 000C lea.l A7, [A7 + 0xC]
000004BC 4ED0 jmp [A0]
export_10:
fn000004BE:
000004BE 4E56 FFF8 link A6, -0x0008
000004C2 7003 moveq.l D0, 0x03
000004C4 3F00 move.w -[A7], D0
000004C6 3F00 move.w -[A7], D0
000004C8 A89B syscall PenSize
000004CA 206E 0008 movea.l A0, [A6 + 0x8]
000004CE 2050 movea.l A0, [A0]
000004D0 43EE FFF8 lea.l A1, [A6 - 0x8]
000004D4 5088 addq.l A0, 8
000004D6 22D8 move.l [A1]+, [A0]+
000004D8 22D8 move.l [A1]+, [A0]+
000004DA 486E FFF8 pea.l [A6 - 0x8]
000004DE 70FC moveq.l D0, 0xFFFFFFFC
000004E0 3F00 move.w -[A7], D0
000004E2 3F00 move.w -[A7], D0
000004E4 A8A9 syscall InsetRect
000004E6 486E FFF8 pea.l [A6 - 0x8]
000004EA 7010 moveq.l D0, 0x10
000004EC 3F00 move.w -[A7], D0
000004EE 3F00 move.w -[A7], D0
000004F0 A8B0 syscall FrameRoundRect
000004F2 7001 moveq.l D0, 0x01
000004F4 3F00 move.w -[A7], D0
000004F6 3F00 move.w -[A7], D0
000004F8 A89B syscall PenSize
000004FA 4E5E unlink A6
000004FC 4E75 rts
export_11:
000004FE 4E56 FFE0 link A6, -0x0020
00000502 2F2E 000A move.l -[A7], [A6 + 0xA]
00000506 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000050A 486E FFEC pea.l [A6 - 0x14]
0000050E 486E FFE8 pea.l [A6 - 0x18]
00000512 486E FFE0 pea.l [A6 - 0x20]
00000516 A98D syscall GetDialogItem/GetDItem
00000518 486E FFEE pea.l [A6 - 0x12]
0000051C A898 syscall GetPenState
0000051E 7003 moveq.l D0, 0x03
00000520 3F00 move.w -[A7], D0
00000522 3F00 move.w -[A7], D0
00000524 A89B syscall PenSize
00000526 486E FFE0 pea.l [A6 - 0x20]
0000052A 7010 moveq.l D0, 0x10
0000052C 3F00 move.w -[A7], D0
0000052E 3F00 move.w -[A7], D0
00000530 A8B0 syscall FrameRoundRect
00000532 486E FFEE pea.l [A6 - 0x12]
00000536 A899 syscall SetPenState
00000538 4E5E unlink A6
0000053A 205F movea.l A0, [A7]+
0000053C 5C4F addq.w A7, 6
0000053E 4ED0 jmp [A0]
export_12:
fn00000540:
00000540 4E56 0000 link A6, 0
00000544 48E7 0118 movem.l -[A7], D7,A3,A4
00000548 266E 000C movea.l A3, [A6 + 0xC]
0000054C 286E 0008 movea.l A4, [A6 + 0x8]
00000550 1E14 move.b D7, [A4]
label00000552:
00000552 16DC move.b [A3]+, [A4]+
00000554 1007 move.b D0, D7
00000556 5307 subq.b D7, 1
00000558 4A00 tst.b D0
0000055A 66F6 bne -0x8 /* 00000552 */
0000055C 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000562 4E5E unlink A6
00000564 4E75 rts
export_13:
fn00000566:
00000566 4E56 0000 link A6, 0
0000056A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000056E 4EBA 04E8 jsr [PC + 0x4E8 /* 00000A58 */]
00000572 558F subq.l A7, 2
00000574 3F3C 07D5 move.w -[A7], 0x7D5
00000578 7000 moveq.l D0, 0x00
0000057A 2F00 move.l -[A7], D0
0000057C A988 syscall CautionAlert
0000057E 4E5E unlink A6
00000580 4E75 rts
export_14:
fn00000582:
00000582 4E56 FFF8 link A6, -0x0008
00000586 2F0C move.l -[A7], A4
00000588 286E 0008 movea.l A4, [A6 + 0x8]
0000058C 41EE FFF8 lea.l A0, [A6 - 0x8]
00000590 43EC 0010 lea.l A1, [A4 + 0x10]
00000594 20D9 move.l [A0]+, [A1]+
00000596 20D9 move.l [A0]+, [A1]+
00000598 486E FFF8 pea.l [A6 - 0x8]
0000059C 4EBA 0082 jsr [PC + 0x82 /* 00000620 */]
000005A0 2F0C move.l -[A7], A4
000005A2 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000005A6 7000 moveq.l D0, 0x00
000005A8 1F00 move.b -[A7], D0
000005AA A91B syscall MoveWindow
000005AC 286E FFF4 movea.l A4, [A6 - 0xC]
000005B0 4E5E unlink A6
000005B2 4E75 rts
export_15:
fn000005B4:
000005B4 4E56 FFFE link A6, -0x0002
000005B8 2F0C move.l -[A7], A4
000005BA 4EAD 05AA jsr [A5 + 0x5AA /* export_177 */]
000005BE 598F subq.l A7, 4
000005C0 3F2E 000A move.w -[A7], [A6 + 0xA]
000005C4 7000 moveq.l D0, 0x00
000005C6 2F00 move.l -[A7], D0
000005C8 72FF moveq.l D1, 0xFFFFFFFF
000005CA 2F01 move.l -[A7], D1
000005CC A97C syscall GetNewDialog
000005CE 285F movea.l A4, [A7]+
000005D0 200C move.l D0, A4
000005D2 6616 bne +0x18 /* 000005EA */
000005D4 486D D694 pea.l [A5 - 0x296C]
000005D8 558F subq.l A7, 2
000005DA A9AF syscall ResError
000005DC 301F move.w D0, [A7]+
000005DE 48C0 ext.l D0
000005E0 2F00 move.l -[A7], D0
000005E2 4EBA 29C2 jsr [PC + 0x29C2 /* 00002FA6 */]
000005E6 504F addq.w A7, 8
000005E8 602A bra +0x2C /* 00000614 */
label000005EA:
000005EA 2F0C move.l -[A7], A4
000005EC 4EBA FF94 jsr [PC - 0x6C /* 00000582 */]
000005F0 7002 moveq.l D0, 0x02
000005F2 2F00 move.l -[A7], D0
000005F4 7201 moveq.l D1, 0x01
000005F6 2F01 move.l -[A7], D1
000005F8 2F0C move.l -[A7], A4
000005FA 4EBA 04FE jsr [PC + 0x4FE /* 00000AFA */]
000005FE 2F0C move.l -[A7], A4
00000600 A915 syscall ShowWindow
00000602 7000 moveq.l D0, 0x00
00000604 2F00 move.l -[A7], D0
00000606 486E FFFE pea.l [A6 - 0x2]
0000060A A991 syscall ModalDialog
0000060C 2F0C move.l -[A7], A4
0000060E A983 syscall DisposeDialog
00000610 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000614:
00000614 302E FFFE move.w D0, [A6 - 0x2]
00000618 286E FFFA movea.l A4, [A6 - 0x6]
0000061C 4E5E unlink A6
0000061E 4E75 rts
export_16:
fn00000620:
00000620 4E56 FFF0 link A6, -0x0010
00000624 48E7 0018 movem.l -[A7], A3,A4
00000628 286E 0008 movea.l A4, [A6 + 0x8]
0000062C 4AAD DCD6 tst.l [A5 - 0x232A]
00000630 6730 beq +0x32 /* 00000662 */
00000632 206D DCD6 movea.l A0, [A5 - 0x232A]
00000636 43EE FFF0 lea.l A1, [A6 - 0x10]
0000063A 41E8 0010 lea.l A0, [A0 + 0x10]
0000063E 22D8 move.l [A1]+, [A0]+
00000640 22D8 move.l [A1]+, [A0]+
00000642 486E FFFC pea.l [A6 - 0x4]
00000646 A874 syscall GetPort
00000648 2F2D DCD6 move.l -[A7], [A5 - 0x232A]
0000064C A873 syscall SetPort
0000064E 486E FFF0 pea.l [A6 - 0x10]
00000652 A870 syscall LocalToGlobal
00000654 486E FFF4 pea.l [A6 - 0xC]
00000658 A870 syscall LocalToGlobal
0000065A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000065E A873 syscall SetPort
00000660 600C bra +0xE /* 0000066E */
label00000662:
00000662 41EE FFF0 lea.l A0, [A6 - 0x10]
00000666 43ED FE0A lea.l A1, [A5 - 0x1F6]
0000066A 20D9 move.l [A0]+, [A1]+
0000066C 20D9 move.l [A0]+, [A1]+
label0000066E:
0000066E 2F0C move.l -[A7], A4
00000670 4EBA 039E jsr [PC + 0x39E /* 00000A10 */]
00000674 2D40 FFF8 move.l [A6 - 0x8], D0
00000678 302E FFF6 move.w D0, [A6 - 0xA]
0000067C 48C0 ext.l D0
0000067E 322E FFF2 move.w D1, [A6 - 0xE]
00000682 48C1 ext.l D1
00000684 9081 sub.l D0, D1
00000686 322E FFFA move.w D1, [A6 - 0x6]
0000068A 48C1 ext.l D1
0000068C 9081 sub.l D0, D1
0000068E 7202 moveq.l D1, 0x02
00000690 4EBA 4F20 jsr [PC + 0x4F20 /* 000055B2 */]
00000694 D06E FFF2 add.w D0, [A6 - 0xE]
00000698 3940 0002 move.w [A4 + 0x2], D0
0000069C 302E FFF4 move.w D0, [A6 - 0xC]
000006A0 48C0 ext.l D0
000006A2 322E FFF0 move.w D1, [A6 - 0x10]
000006A6 48C1 ext.l D1
000006A8 9081 sub.l D0, D1
000006AA 322E FFF8 move.w D1, [A6 - 0x8]
000006AE 48C1 ext.l D1
000006B0 9081 sub.l D0, D1
000006B2 7202 moveq.l D1, 0x02
000006B4 4EBA 4EFC jsr [PC + 0x4EFC /* 000055B2 */]
000006B8 D06E FFF0 add.w D0, [A6 - 0x10]
000006BC 3880 move.w [A4], D0
000006BE 302E FFFA move.w D0, [A6 - 0x6]
000006C2 D06C 0002 add.w D0, [A4 + 0x2]
000006C6 3940 0006 move.w [A4 + 0x6], D0
000006CA 302E FFF8 move.w D0, [A6 - 0x8]
000006CE D054 add.w D0, [A4]
000006D0 3940 0004 move.w [A4 + 0x4], D0
000006D4 598F subq.l A7, 4
000006D6 A8D8 syscall NewRgn
000006D8 2657 movea.l A3, [A7]
000006DA 2F0C move.l -[A7], A4
000006DC A8DF syscall RectRgn
000006DE 2F0B move.l -[A7], A3
000006E0 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */]
000006E4 2F0B move.l -[A7], A3
000006E6 A8E6 syscall DiffRgn
000006E8 558F subq.l A7, 2
000006EA 2F0B move.l -[A7], A3
000006EC A8E2 syscall EmptyRgn
000006EE 4A1F tst.b [A7]+
000006F0 584F addq.w A7, 4
000006F2 664C bne +0x4E /* 00000740 */
000006F4 302D FE10 move.w D0, [A5 - 0x1F0]
000006F8 48C0 ext.l D0
000006FA 322E FFFA move.w D1, [A6 - 0x6]
000006FE 48C1 ext.l D1
00000700 9081 sub.l D0, D1
00000702 7202 moveq.l D1, 0x02
00000704 4EBA 4EAC jsr [PC + 0x4EAC /* 000055B2 */]
00000708 3940 0002 move.w [A4 + 0x2], D0
0000070C 302E FFFA move.w D0, [A6 - 0x6]
00000710 D06C 0002 add.w D0, [A4 + 0x2]
00000714 3940 0006 move.w [A4 + 0x6], D0
00000718 302D FE0E move.w D0, [A5 - 0x1F2]
0000071C 48C0 ext.l D0
0000071E 7214 moveq.l D1, 0x14
00000720 9081 sub.l D0, D1
00000722 342E FFF8 move.w D2, [A6 - 0x8]
00000726 48C2 ext.l D2
00000728 9082 sub.l D0, D2
0000072A 7202 moveq.l D1, 0x02
0000072C 4EBA 4E84 jsr [PC + 0x4E84 /* 000055B2 */]
00000730 D07C 0014 add.w D0, 0x14
00000734 3880 move.w [A4], D0
00000736 302E FFF8 move.w D0, [A6 - 0x8]
0000073A D054 add.w D0, [A4]
0000073C 3940 0004 move.w [A4 + 0x4], D0
label00000740:
00000740 2F0B move.l -[A7], A3
00000742 A8D9 syscall DisposRgn/DisposeRgn
00000744 4CEE 1800 FFE8 movem.l A3,A4, [A6 - 0x18]
0000074A 4E5E unlink A6
0000074C 4E75 rts
export_17:
fn0000074E:
0000074E 4E56 FFEE link A6, -0x0012
00000752 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000756 266E 000C movea.l A3, [A6 + 0xC]
0000075A 286E 0008 movea.l A4, [A6 + 0x8]
0000075E 2C2B 0002 move.l D6, [A3 + 0x2]
00000762 CCBC 0000 00FF and.l D6, 0xFF
00000768 7003 moveq.l D0, 0x03
0000076A B053 cmp.w D0, [A3]
0000076C 6658 bne +0x5A /* 000007C6 */
0000076E 0C06 000D cmpi.b D6, 0xD /* '\r' */
00000772 6706 beq +0x8 /* 0000077A */
00000774 0C06 0003 cmpi.b D6, 0x3
00000778 664C bne +0x4E /* 000007C6 */
label0000077A:
0000077A 206E 0010 movea.l A0, [A6 + 0x10]
0000077E 30AC 00A8 move.w [A0], [A4 + 0xA8]
00000782 206E 0010 movea.l A0, [A6 + 0x10]
00000786 3010 move.w D0, [A0]
00000788 48C0 ext.l D0
0000078A 2F00 move.l -[A7], D0
0000078C 2F0C move.l -[A7], A4
0000078E 4EBA 013A jsr [PC + 0x13A /* 000008CA */]
00000792 508F addq.l A7, 8
00000794 2F00 move.l -[A7], D0
00000796 7001 moveq.l D0, 0x01
00000798 3F00 move.w -[A7], D0
0000079A A95D syscall HiliteControl
0000079C 307C 0008 movea.w A0, 0x8
000007A0 43EE FFEE lea.l A1, [A6 - 0x12]
000007A4 A03B syscall Delay
000007A6 2280 move.l [A1], D0
000007A8 206E 0010 movea.l A0, [A6 + 0x10]
000007AC 3010 move.w D0, [A0]
000007AE 48C0 ext.l D0
000007B0 2F00 move.l -[A7], D0
000007B2 2F0C move.l -[A7], A4
000007B4 4EBA 0114 jsr [PC + 0x114 /* 000008CA */]
000007B8 508F addq.l A7, 8
000007BA 2F00 move.l -[A7], D0
000007BC 7000 moveq.l D0, 0x00
000007BE 3F00 move.w -[A7], D0
000007C0 A95D syscall HiliteControl
000007C2 7001 moveq.l D0, 0x01
000007C4 607E bra +0x80 /* 00000844 */
label000007C6:
000007C6 7003 moveq.l D0, 0x03
000007C8 B053 cmp.w D0, [A3]
000007CA 6706 beq +0x8 /* 000007D2 */
000007CC 7005 moveq.l D0, 0x05
000007CE B053 cmp.w D0, [A3]
000007D0 6670 bne +0x72 /* 00000842 */
label000007D2:
000007D2 0C06 0009 cmpi.b D6, 0x9 /* '\t' */
000007D6 666A bne +0x6C /* 00000842 */
000007D8 4A6C 00A4 tst.w [A4 + 0xA4]
000007DC 6D64 blt +0x66 /* 00000842 */
000007DE 3C2C 00A4 move.w D6, [A4 + 0xA4]
000007E2 5246 addq.w D6, 1
000007E4 206C 009C movea.l A0, [A4 + 0x9C]
000007E8 2050 movea.l A0, [A0]
000007EA 3A10 move.w D5, [A0]
000007EC 5245 addq.w D5, 1
000007EE BA46 cmp.w D5, D6
000007F0 6F06 ble +0x8 /* 000007F8 */
000007F2 3006 move.w D0, D6
000007F4 5240 addq.w D0, 1
000007F6 6002 bra +0x4 /* 000007FA */
label000007F8:
000007F8 7001 moveq.l D0, 0x01
label000007FA:
000007FA 3E00 move.w D7, D0
000007FC 602E bra +0x30 /* 0000082C */
label000007FE:
000007FE 2F0C move.l -[A7], A4
00000800 3F07 move.w -[A7], D7
00000802 486E FFF2 pea.l [A6 - 0xE]
00000806 486E FFF4 pea.l [A6 - 0xC]
0000080A 486E FFF8 pea.l [A6 - 0x8]
0000080E A98D syscall GetDialogItem/GetDItem
00000810 303C FF7F move.w D0, 0xFF7F
00000814 C06E FFF2 and.w D0, [A6 - 0xE]
00000818 0C40 0010 cmpi.w D0, 0x10
0000081C 6712 beq +0x14 /* 00000830 */
0000081E BA47 cmp.w D5, D7
00000820 6F06 ble +0x8 /* 00000828 */
00000822 3007 move.w D0, D7
00000824 5240 addq.w D0, 1
00000826 6002 bra +0x4 /* 0000082A */
label00000828:
00000828 7001 moveq.l D0, 0x01
label0000082A:
0000082A 3E00 move.w D7, D0
label0000082C:
0000082C BC47 cmp.w D6, D7
0000082E 66CE bne -0x30 /* 000007FE */
label00000830:
00000830 2F0C move.l -[A7], A4
00000832 3F07 move.w -[A7], D7
00000834 7000 moveq.l D0, 0x00
00000836 3F00 move.w -[A7], D0
00000838 3F3C 7FFF move.w -[A7], 0x7FFF
0000083C A97E syscall SelectDialogItemText/SelIText
0000083E 7001 moveq.l D0, 0x01
00000840 6002 bra +0x4 /* 00000844 */
label00000842:
00000842 7000 moveq.l D0, 0x00
label00000844:
00000844 4CEE 18E0 FFDA movem.l D5,D6,D7,A3,A4, [A6 - 0x26]
0000084A 4E5E unlink A6
0000084C 4E75 rts
export_18:
fn0000084E:
0000084E 4E56 FFF2 link A6, -0x000E
00000852 48E7 1008 movem.l -[A7], D3,A4
00000856 286E 0008 movea.l A4, [A6 + 0x8]
0000085A 2F0C move.l -[A7], A4
0000085C 3F2E 000E move.w -[A7], [A6 + 0xE]
00000860 486E FFF2 pea.l [A6 - 0xE]
00000864 486E FFF4 pea.l [A6 - 0xC]
00000868 486E FFF8 pea.l [A6 - 0x8]
0000086C A98D syscall GetDialogItem/GetDItem
0000086E 7600 moveq.l D3, 0x00
00000870 2F03 move.l -[A7], D3
00000872 558F subq.l A7, 2
00000874 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000878 A960 syscall GetControlValue/GetCtlValue
0000087A 301F move.w D0, [A7]+
0000087C 261F move.l D3, [A7]+
0000087E 4A40 tst.w D0
00000880 673A beq +0x3C /* 000008BC */
00000882 206E FFF4 movea.l A0, [A6 - 0xC]
00000886 2050 movea.l A0, [A0]
00000888 7000 moveq.l D0, 0x00
0000088A 1028 0011 move.b D0, [A0 + 0x11]
0000088E 0C40 00FF cmpi.w D0, 0xFF
00000892 6728 beq +0x2A /* 000008BC */
00000894 206E FFF4 movea.l A0, [A6 - 0xC]
00000898 2050 movea.l A0, [A0]
0000089A 7000 moveq.l D0, 0x00
0000089C 1028 0010 move.b D0, [A0 + 0x10]
000008A0 4A80 tst.l D0
000008A2 6718 beq +0x1A /* 000008BC */
000008A4 2F03 move.l -[A7], D3
000008A6 558F subq.l A7, 2
000008A8 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000008AC 486C 0010 pea.l [A4 + 0x10]
000008B0 A8AD syscall PtInRect
000008B2 101F move.b D0, [A7]+
000008B4 261F move.l D3, [A7]+
000008B6 4A00 tst.b D0
000008B8 6702 beq +0x4 /* 000008BC */
000008BA 7601 moveq.l D3, 0x01
label000008BC:
000008BC 4883 ext.w D3
000008BE 3003 move.w D0, D3
000008C0 4CEE 1008 FFEA movem.l D3,A4, [A6 - 0x16]
000008C6 4E5E unlink A6
000008C8 4E75 rts
export_19:
fn000008CA:
000008CA 4E56 FFF2 link A6, -0x000E
000008CE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000008D2 3F2E 000E move.w -[A7], [A6 + 0xE]
000008D6 486E FFF2 pea.l [A6 - 0xE]
000008DA 486E FFF4 pea.l [A6 - 0xC]
000008DE 486E FFF8 pea.l [A6 - 0x8]
000008E2 A98D syscall GetDialogItem/GetDItem
000008E4 202E FFF4 move.l D0, [A6 - 0xC]
000008E8 4E5E unlink A6
000008EA 4E75 rts
export_20:
fn000008EC:
000008EC 4E56 FFFA link A6, -0x0006
000008F0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000008F4 3F2E 000E move.w -[A7], [A6 + 0xE]
000008F8 486E FFFA pea.l [A6 - 0x6]
000008FC 486E FFFC pea.l [A6 - 0x4]
00000900 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000904 A98D syscall GetDialogItem/GetDItem
00000906 4E5E unlink A6
00000908 4E75 rts
fn0000090A:
0000090A 4E56 FFF2 link A6, -0x000E
0000090E 2F03 move.l -[A7], D3
00000910 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000914 3F2E 000E move.w -[A7], [A6 + 0xE]
00000918 486E FFF6 pea.l [A6 - 0xA]
0000091C 486E FFF2 pea.l [A6 - 0xE]
00000920 486E FFF8 pea.l [A6 - 0x8]
00000924 A98D syscall GetDialogItem/GetDItem
00000926 7600 moveq.l D3, 0x00
00000928 206E FFF2 movea.l A0, [A6 - 0xE]
0000092C 2050 movea.l A0, [A0]
0000092E 7000 moveq.l D0, 0x00
00000930 1028 0011 move.b D0, [A0 + 0x11]
00000934 0C40 00FF cmpi.w D0, 0xFF
00000938 671A beq +0x1C /* 00000954 */
0000093A 206E FFF2 movea.l A0, [A6 - 0xE]
0000093E 2050 movea.l A0, [A0]
00000940 7000 moveq.l D0, 0x00
00000942 1028 0010 move.b D0, [A0 + 0x10]
00000946 4A80 tst.l D0
00000948 670A beq +0xC /* 00000954 */
0000094A 0C6E 1F40 FFFA cmpi.w [A6 - 0x6], 0x1F40
00000950 6C02 bge +0x4 /* 00000954 */
00000952 7601 moveq.l D3, 0x01
label00000954:
00000954 1003 move.b D0, D3
00000956 262E FFEE move.l D3, [A6 - 0x12]
0000095A 4E5E unlink A6
0000095C 4E75 rts
export_21:
0000095E 4E56 0000 link A6, 0
00000962 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000966 4EBA 00F0 jsr [PC + 0xF0 /* 00000A58 */]
0000096A 558F subq.l A7, 2
0000096C 3F3C 07D5 move.w -[A7], 0x7D5
00000970 7000 moveq.l D0, 0x00
00000972 2F00 move.l -[A7], D0
00000974 A987 syscall NoteAlert
00000976 4E5E unlink A6
00000978 4E75 rts
export_22:
fn0000097A:
0000097A 4E56 FFF2 link A6, -0x000E
0000097E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000982 3F2E 000E move.w -[A7], [A6 + 0xE]
00000986 486E FFF2 pea.l [A6 - 0xE]
0000098A 486E FFF4 pea.l [A6 - 0xC]
0000098E 486E FFF8 pea.l [A6 - 0x8]
00000992 A98D syscall GetDialogItem/GetDItem
00000994 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000998 3F2E 0012 move.w -[A7], [A6 + 0x12]
0000099C A963 syscall SetControlValue/SetCtlValue
0000099E 4E5E unlink A6
000009A0 4E75 rts
export_23:
fn000009A2:
000009A2 4E56 0000 link A6, 0
000009A6 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000009AA 382E 000E move.w D4, [A6 + 0xE]
000009AE 3C2E 0016 move.w D6, [A6 + 0x16]
000009B2 286E 0008 movea.l A4, [A6 + 0x8]
000009B6 3E04 move.w D7, D4
000009B8 6046 bra +0x48 /* 00000A00 */
label000009BA:
000009BA 48C7 ext.l D7
000009BC 2F07 move.l -[A7], D7
000009BE 2F0C move.l -[A7], A4
000009C0 4EBA FE8C jsr [PC - 0x174 /* 0000084E */]
000009C4 1A00 move.b D5, D0
000009C6 504F addq.w A7, 8
000009C8 6718 beq +0x1A /* 000009E2 */
000009CA BC47 cmp.w D6, D7
000009CC 6714 beq +0x16 /* 000009E2 */
000009CE 7000 moveq.l D0, 0x00
000009D0 2F00 move.l -[A7], D0
000009D2 48C7 ext.l D7
000009D4 2F07 move.l -[A7], D7
000009D6 2F0C move.l -[A7], A4
000009D8 4EBA FFA0 jsr [PC - 0x60 /* 0000097A */]
000009DC 4FEF 000C lea.l A7, [A7 + 0xC]
000009E0 601A bra +0x1C /* 000009FC */
label000009E2:
000009E2 4A05 tst.b D5
000009E4 6616 bne +0x18 /* 000009FC */
000009E6 BC47 cmp.w D6, D7
000009E8 6612 bne +0x14 /* 000009FC */
000009EA 7001 moveq.l D0, 0x01
000009EC 2F00 move.l -[A7], D0
000009EE 48C7 ext.l D7
000009F0 2F07 move.l -[A7], D7
000009F2 2F0C move.l -[A7], A4
000009F4 4EBA FF84 jsr [PC - 0x7C /* 0000097A */]
000009F8 4FEF 000C lea.l A7, [A7 + 0xC]
label000009FC:
000009FC 3007 move.w D0, D7
000009FE 5247 addq.w D7, 1
label00000A00:
00000A00 BE6E 0012 cmp.w D7, [A6 + 0x12]
00000A04 6FB4 ble -0x4A /* 000009BA */
00000A06 4CEE 10F0 FFEC movem.l D4,D5,D6,D7,A4, [A6 - 0x14]
00000A0C 4E5E unlink A6
00000A0E 4E75 rts
fn00000A10:
00000A10 4E56 FFFC link A6, -0x0004
00000A14 2F0C move.l -[A7], A4
00000A16 286E 0008 movea.l A4, [A6 + 0x8]
00000A1A 302C 0006 move.w D0, [A4 + 0x6]
00000A1E 906C 0002 sub.w D0, [A4 + 0x2]
00000A22 3D40 FFFE move.w [A6 - 0x2], D0
00000A26 302C 0004 move.w D0, [A4 + 0x4]
00000A2A 9054 sub.w D0, [A4]
00000A2C 3D40 FFFC move.w [A6 - 0x4], D0
00000A30 202E FFFC move.l D0, [A6 - 0x4]
00000A34 286E FFF8 movea.l A4, [A6 - 0x8]
00000A38 4E5E unlink A6
00000A3A 4E75 rts
export_24:
fn00000A3C:
00000A3C 4E56 0000 link A6, 0
00000A40 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A44 4EBA 0012 jsr [PC + 0x12 /* 00000A58 */]
00000A48 558F subq.l A7, 2
00000A4A 3F3C 07D5 move.w -[A7], 0x7D5
00000A4E 7000 moveq.l D0, 0x00
00000A50 2F00 move.l -[A7], D0
00000A52 A986 syscall StopAlert
00000A54 4E5E unlink A6
00000A56 4E75 rts
fn00000A58:
00000A58 4E56 0000 link A6, 0
00000A5C 48E7 0018 movem.l -[A7], A3,A4
00000A60 4EAD 05AA jsr [A5 + 0x5AA /* export_177 */]
00000A64 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A68 7000 moveq.l D0, 0x00
00000A6A 2F00 move.l -[A7], D0
00000A6C 2F00 move.l -[A7], D0
00000A6E 2F00 move.l -[A7], D0
00000A70 A98B syscall ParamText
00000A72 598F subq.l A7, 4
00000A74 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
00000A7A 3F3C 07D5 move.w -[A7], 0x7D5
00000A7E A9A0 syscall GetResource
00000A80 285F movea.l A4, [A7]+
00000A82 200C move.l D0, A4
00000A84 6614 bne +0x16 /* 00000A9A */
00000A86 486D D6A4 pea.l [A5 - 0x295C]
00000A8A 558F subq.l A7, 2
00000A8C A9AF syscall ResError
00000A8E 301F move.w D0, [A7]+
00000A90 48C0 ext.l D0
00000A92 2F00 move.l -[A7], D0
00000A94 4EBA 2510 jsr [PC + 0x2510 /* 00002FA6 */]
00000A98 504F addq.w A7, 8
label00000A9A:
00000A9A 204C movea.l A0, A4
00000A9C A029 syscall HLock
00000A9E 2654 movea.l A3, [A4]
00000AA0 2F0B move.l -[A7], A3
00000AA2 4EBA FB7C jsr [PC - 0x484 /* 00000620 */]
00000AA6 204C movea.l A0, A4
00000AA8 A02A syscall HUnlock
00000AAA 584F addq.w A7, 4
00000AAC 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000AB2 4E5E unlink A6
00000AB4 4E75 rts
export_25:
fn00000AB6:
00000AB6 4E56 0000 link A6, 0
00000ABA 48E7 0300 movem.l -[A7], D6,D7
00000ABE 3C2E 000A move.w D6, [A6 + 0xA]
00000AC2 6E04 bgt +0x6 /* 00000AC8 */
00000AC4 7000 moveq.l D0, 0x00
00000AC6 6028 bra +0x2A /* 00000AF0 */
label00000AC8:
00000AC8 0C46 0002 cmpi.w D6, 0x2
00000ACC 660A bne +0xC /* 00000AD8 */
00000ACE 558F subq.l A7, 2
00000AD0 A861 syscall Random
00000AD2 7001 moveq.l D0, 0x01
00000AD4 C05F and.w D0, [A7]+
00000AD6 6018 bra +0x1A /* 00000AF0 */
label00000AD8:
00000AD8 558F subq.l A7, 2
00000ADA A861 syscall Random
00000ADC 3E1F move.w D7, [A7]+
00000ADE 6C08 bge +0xA /* 00000AE8 */
00000AE0 48C7 ext.l D7
00000AE2 2007 move.l D0, D7
00000AE4 4480 neg.l D0
00000AE6 3E00 move.w D7, D0
label00000AE8:
00000AE8 3007 move.w D0, D7
00000AEA 48C0 ext.l D0
00000AEC 81C6 divs.w D0, D6
00000AEE 4840 swap.w D0
label00000AF0:
00000AF0 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
00000AF6 4E5E unlink A6
00000AF8 4E75 rts
export_26:
fn00000AFA:
00000AFA 4E56 FFE6 link A6, -0x001A
00000AFE 48E7 0308 movem.l -[A7], D6,D7,A4
00000B02 3C2E 0012 move.w D6, [A6 + 0x12]
00000B06 3E2E 000E move.w D7, [A6 + 0xE]
00000B0A 286E 0008 movea.l A4, [A6 + 0x8]
00000B0E 2F0C move.l -[A7], A4
00000B10 3F07 move.w -[A7], D7
00000B12 486E FFE6 pea.l [A6 - 0x1A]
00000B16 486E FFE8 pea.l [A6 - 0x18]
00000B1A 486E FFEC pea.l [A6 - 0x14]
00000B1E A98D syscall GetDialogItem/GetDItem
00000B20 486E FFEC pea.l [A6 - 0x14]
00000B24 70FC moveq.l D0, 0xFFFFFFFC
00000B26 3F00 move.w -[A7], D0
00000B28 3F00 move.w -[A7], D0
00000B2A A8A9 syscall InsetRect
00000B2C 2F0C move.l -[A7], A4
00000B2E 3F06 move.w -[A7], D6
00000B30 486E FFE6 pea.l [A6 - 0x1A]
00000B34 486E FFE8 pea.l [A6 - 0x18]
00000B38 486E FFF4 pea.l [A6 - 0xC]
00000B3C A98D syscall GetDialogItem/GetDItem
00000B3E 2F0C move.l -[A7], A4
00000B40 3F06 move.w -[A7], D6
00000B42 3F3C 0080 move.w -[A7], 0x80
00000B46 486D 007A pea.l [A5 + 0x7A /* export_11 */]
00000B4A 486E FFEC pea.l [A6 - 0x14]
00000B4E A98E syscall SetDialogItem/SetDItem
00000B50 3947 00A8 move.w [A4 + 0xA8], D7
00000B54 558F subq.l A7, 2
00000B56 486E FFEC pea.l [A6 - 0x14]
00000B5A 486E FFF4 pea.l [A6 - 0xC]
00000B5E A8A6 syscall EqualRect
00000B60 4A1F tst.b [A7]+
00000B62 6634 bne +0x36 /* 00000B98 */
00000B64 4A2C 006E tst.b [A4 + 0x6E]
00000B68 672E beq +0x30 /* 00000B98 */
00000B6A 486E FFFC pea.l [A6 - 0x4]
00000B6E A874 syscall GetPort
00000B70 2F0C move.l -[A7], A4
00000B72 A873 syscall SetPort
00000B74 486E FFF4 pea.l [A6 - 0xC]
00000B78 A928 syscall InvalRect
00000B7A 486E FFF4 pea.l [A6 - 0xC]
00000B7E 7004 moveq.l D0, 0x04
00000B80 3F00 move.w -[A7], D0
00000B82 3F00 move.w -[A7], D0
00000B84 A8A9 syscall InsetRect
00000B86 486E FFF4 pea.l [A6 - 0xC]
00000B8A A92A syscall ValidRect
00000B8C 486E FFEC pea.l [A6 - 0x14]
00000B90 A928 syscall InvalRect
00000B92 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000B96 A873 syscall SetPort
label00000B98:
00000B98 4CEE 10C0 FFDA movem.l D6,D7,A4, [A6 - 0x26]
00000B9E 4E5E unlink A6
00000BA0 4E75 rts
export_27:
fn00000BA2:
00000BA2 4E56 FF00 link A6, -0x0100
00000BA6 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000BAA 266E 000C movea.l A3, [A6 + 0xC]
00000BAE 49EE FF00 lea.l A4, [A6 - 0x100]
00000BB2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BB6 2F0C move.l -[A7], A4
00000BB8 4EBA 53F4 jsr [PC + 0x53F4 /* 00005FAE */]
00000BBC 7000 moveq.l D0, 0x00
00000BBE 1014 move.b D0, [A4]
00000BC0 7200 moveq.l D1, 0x00
00000BC2 1214 move.b D1, [A4]
00000BC4 5341 subq.w D1, 1
00000BC6 48C1 ext.l D1
00000BC8 83FC 0003 divs.w D1, 0x3
00000BCC 48C1 ext.l D1
00000BCE D280 add.l D1, D0
00000BD0 1681 move.b [A3], D1
00000BD2 7C01 moveq.l D6, 0x01
00000BD4 7E01 moveq.l D7, 0x01
00000BD6 6030 bra +0x32 /* 00000C08 */
label00000BD8:
00000BD8 17B4 7000 6000 move.b [A3 + D6.w], [A4 + D7.w]
00000BDE 7000 moveq.l D0, 0x00
00000BE0 1014 move.b D0, [A4]
00000BE2 48C7 ext.l D7
00000BE4 9087 sub.l D0, D7
00000BE6 7203 moveq.l D1, 0x03
00000BE8 4EBA 49D8 jsr [PC + 0x49D8 /* 000055C2 */]
00000BEC 4A80 tst.l D0
00000BEE 6610 bne +0x12 /* 00000C00 */
00000BF0 7000 moveq.l D0, 0x00
00000BF2 1014 move.b D0, [A4]
00000BF4 BE40 cmp.w D7, D0
00000BF6 6708 beq +0xA /* 00000C00 */
00000BF8 5246 addq.w D6, 1
00000BFA 17BC 002C 6000 move.b [A3 + D6.w], 0x2C /* ',' */
label00000C00:
00000C00 3006 move.w D0, D6
00000C02 5246 addq.w D6, 1
00000C04 3007 move.w D0, D7
00000C06 5247 addq.w D7, 1
label00000C08:
00000C08 7000 moveq.l D0, 0x00
00000C0A 1013 move.b D0, [A3]
00000C0C B046 cmp.w D0, D6
00000C0E 6CC8 bge -0x36 /* 00000BD8 */
00000C10 4CEE 18C0 FEF0 movem.l D6,D7,A3,A4, [A6 - 0x110]
00000C16 4E5E unlink A6
00000C18 4E75 rts
export_28:
fn00000C1A:
00000C1A 4E56 0000 link A6, 0
00000C1E 2F0C move.l -[A7], A4
00000C20 4EAD 05AA jsr [A5 + 0x5AA /* export_177 */]
00000C24 598F subq.l A7, 4
00000C26 3F2E 000A move.w -[A7], [A6 + 0xA]
00000C2A 7000 moveq.l D0, 0x00
00000C2C 2F00 move.l -[A7], D0
00000C2E 72FF moveq.l D1, 0xFFFFFFFF
00000C30 2F01 move.l -[A7], D1
00000C32 A97C syscall GetNewDialog
00000C34 285F movea.l A4, [A7]+
00000C36 200C move.l D0, A4
00000C38 6614 bne +0x16 /* 00000C4E */
00000C3A 486D D6AE pea.l [A5 - 0x2952]
00000C3E 558F subq.l A7, 2
00000C40 A9AF syscall ResError
00000C42 301F move.w D0, [A7]+
00000C44 48C0 ext.l D0
00000C46 2F00 move.l -[A7], D0
00000C48 4EBA 235C jsr [PC + 0x235C /* 00002FA6 */]
00000C4C 504F addq.w A7, 8
label00000C4E:
00000C4E 2F0C move.l -[A7], A4
00000C50 4EBA F930 jsr [PC - 0x6D0 /* 00000582 */]
00000C54 2F0C move.l -[A7], A4
00000C56 A915 syscall ShowWindow
00000C58 200C move.l D0, A4
00000C5A 584F addq.w A7, 4
00000C5C 286E FFFC movea.l A4, [A6 - 0x4]
00000C60 4E5E unlink A6
00000C62 4E75 rts
export_29:
00000C64 4E56 0000 link A6, 0
00000C68 2F0C move.l -[A7], A4
00000C6A 286E 0008 movea.l A4, [A6 + 0x8]
00000C6E 2F0C move.l -[A7], A4
00000C70 1F14 move.b -[A7], [A4]
00000C72 7000 moveq.l D0, 0x00
00000C74 1F00 move.b -[A7], D0
00000C76 2F2E 000C move.l -[A7], [A6 + 0xC]
00000C7A 4EBA F7B4 jsr [PC - 0x84C /* 00000430 */]
00000C7E 286E FFFC movea.l A4, [A6 - 0x4]
00000C82 4E5E unlink A6
00000C84 205F movea.l A0, [A7]+
00000C86 504F addq.w A7, 8
00000C88 4ED0 jmp [A0]
export_30:
00000C8A 4E56 FF00 link A6, -0x0100
00000C8E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000C92 47EE FF00 lea.l A3, [A6 - 0x100]
00000C96 286E 0008 movea.l A4, [A6 + 0x8]
00000C9A 7000 moveq.l D0, 0x00
00000C9C 1014 move.b D0, [A4]
00000C9E 4A80 tst.l D0
00000CA0 6700 008A beq +0x8C /* 00000D2C */
00000CA4 7E01 moveq.l D7, 0x01
00000CA6 6010 bra +0x12 /* 00000CB8 */
label00000CA8:
00000CA8 7000 moveq.l D0, 0x00
00000CAA 1034 7000 move.b D0, [A4 + D7.w]
00000CAE 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
00000CB2 660C bne +0xE /* 00000CC0 */
00000CB4 3007 move.w D0, D7
00000CB6 5247 addq.w D7, 1
label00000CB8:
00000CB8 7000 moveq.l D0, 0x00
00000CBA 1014 move.b D0, [A4]
00000CBC B047 cmp.w D0, D7
00000CBE 6CE8 bge -0x16 /* 00000CA8 */
label00000CC0:
00000CC0 7000 moveq.l D0, 0x00
00000CC2 1014 move.b D0, [A4]
00000CC4 B047 cmp.w D0, D7
00000CC6 6C0C bge +0xE /* 00000CD4 */
00000CC8 486D D6C0 pea.l [A5 - 0x2940]
00000CCC 2F0C move.l -[A7], A4
00000CCE 4EBA F742 jsr [PC - 0x8BE /* 00000412 */]
00000CD2 6058 bra +0x5A /* 00000D2C */
label00000CD4:
00000CD4 7C00 moveq.l D6, 0x00
00000CD6 1C14 move.b D6, [A4]
00000CD8 4A86 tst.l D6
00000CDA 6010 bra +0x12 /* 00000CEC */
label00000CDC:
00000CDC 7000 moveq.l D0, 0x00
00000CDE 1034 6000 move.b D0, [A4 + D6.w]
00000CE2 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
00000CE6 6608 bne +0xA /* 00000CF0 */
00000CE8 3006 move.w D0, D6
00000CEA 5346 subq.w D6, 1
label00000CEC:
00000CEC BE46 cmp.w D7, D6
00000CEE 6DEC blt -0x12 /* 00000CDC */
label00000CF0:
00000CF0 BE46 cmp.w D7, D6
00000CF2 660C bne +0xE /* 00000D00 */
00000CF4 18BC 0001 move.b [A4], 0x1
00000CF8 1974 7000 0001 move.b [A4 + 0x1], [A4 + D7.w]
00000CFE 602C bra +0x2E /* 00000D2C */
label00000D00:
00000D00 48C6 ext.l D6
00000D02 48C7 ext.l D7
00000D04 2006 move.l D0, D6
00000D06 9087 sub.l D0, D7
00000D08 3A00 move.w D5, D0
00000D0A 5245 addq.w D5, 1
00000D0C 7C01 moveq.l D6, 0x01
00000D0E 600E bra +0x10 /* 00000D1E */
label00000D10:
00000D10 3007 move.w D0, D7
00000D12 5247 addq.w D7, 1
00000D14 17B4 0000 6000 move.b [A3 + D6.w], [A4 + D0.w]
00000D1A 3006 move.w D0, D6
00000D1C 5246 addq.w D6, 1
label00000D1E:
00000D1E BA46 cmp.w D5, D6
00000D20 6CEE bge -0x10 /* 00000D10 */
00000D22 1685 move.b [A3], D5
00000D24 2F0B move.l -[A7], A3
00000D26 2F0C move.l -[A7], A4
00000D28 4EBA F6E8 jsr [PC - 0x918 /* 00000412 */]
label00000D2C:
00000D2C 4CEE 18E0 FEEC movem.l D5,D6,D7,A3,A4, [A6 - 0x114]
00000D32 4E5E unlink A6
00000D34 2E9F move.l [A7], [A7]+
00000D36 4E75 rts
export_31:
00000D38 48E7 1F3E movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
00000D3C 2A68 FFFC movea.l A5, [A0 - 0x4]
00000D40 2F08 move.l -[A7], A0
00000D42 4EBA 08F6 jsr [PC + 0x8F6 /* 0000163A */]
00000D46 584F addq.w A7, 4
00000D48 4CDF 7CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
00000D4C 4E75 rts
export_32:
fn00000D4E:
00000D4E 4E56 0000 link A6, 0
00000D52 4A6D DC9E tst.w [A5 - 0x2362]
00000D56 6634 bne +0x36 /* 00000D8C */
00000D58 7001 moveq.l D0, 0x01
00000D5A B06D DADC cmp.w D0, [A5 - 0x2524]
00000D5E 6708 beq +0xA /* 00000D68 */
00000D60 7002 moveq.l D0, 0x02
00000D62 B06D DADC cmp.w D0, [A5 - 0x2524]
00000D66 661C bne +0x1E /* 00000D84 */
label00000D68:
00000D68 70FF moveq.l D0, 0xFFFFFFFF
00000D6A B06D D892 cmp.w D0, [A5 - 0x276E]
00000D6E 6614 bne +0x16 /* 00000D84 */
00000D70 7000 moveq.l D0, 0x00
00000D72 2F00 move.l -[A7], D0
00000D74 2F00 move.l -[A7], D0
00000D76 7207 moveq.l D1, 0x07
00000D78 2F01 move.l -[A7], D1
00000D7A 4EBA 0F08 jsr [PC + 0xF08 /* 00001C84 */]
00000D7E 4FEF 000C lea.l A7, [A7 + 0xC]
00000D82 6008 bra +0xA /* 00000D8C */
label00000D84:
00000D84 4EBA 0796 jsr [PC + 0x796 /* 0000151C */]
00000D88 4EBA 04AE jsr [PC + 0x4AE /* 00001238 */]
label00000D8C:
00000D8C 4E5E unlink A6
00000D8E 4E75 rts
fn00000D90:
00000D90 4E56 FFFC link A6, -0x0004
00000D94 2F07 move.l -[A7], D7
00000D96 4A2D D76A tst.b [A5 - 0x2896]
00000D9A 6736 beq +0x38 /* 00000DD2 */
00000D9C 202D D766 move.l D0, [A5 - 0x289A]
00000DA0 D0BC 0000 0384 add.l D0, 0x384
00000DA6 2D40 FFFC move.l [A6 - 0x4], D0
00000DAA 598F subq.l A7, 4
00000DAC A975 syscall TickCount
00000DAE 202E FFFC move.l D0, [A6 - 0x4]
00000DB2 B09F cmp.l D0, [A7]+
00000DB4 621C bhi +0x1E /* 00000DD2 */
00000DB6 7064 moveq.l D0, 0x64
00000DB8 2F00 move.l -[A7], D0
00000DBA 4EBA 2698 jsr [PC + 0x2698 /* 00003454 */]
00000DBE 3E00 move.w D7, D0
00000DC0 0C47 0004 cmpi.w D7, 0x4
00000DC4 584F addq.w A7, 4
00000DC6 670A beq +0xC /* 00000DD2 */
00000DC8 0C47 0005 cmpi.w D7, 0x5
00000DCC 6704 beq +0x6 /* 00000DD2 */
00000DCE 4EBA 05A6 jsr [PC + 0x5A6 /* 00001376 */]
label00000DD2:
00000DD2 2E2E FFF8 move.l D7, [A6 - 0x8]
00000DD6 4E5E unlink A6
00000DD8 4E75 rts
fn00000DDA:
00000DDA 4E56 0000 link A6, 0
00000DDE 48E7 0328 movem.l -[A7], D6,D7,A2,A4
00000DE2 286E 000C movea.l A4, [A6 + 0xC]
00000DE6 3E2E 000A move.w D7, [A6 + 0xA]
00000DEA 7001 moveq.l D0, 0x01
00000DEC B06D DADC cmp.w D0, [A5 - 0x2524]
00000DF0 6708 beq +0xA /* 00000DFA */
00000DF2 7002 moveq.l D0, 0x02
00000DF4 B06D DADC cmp.w D0, [A5 - 0x2524]
00000DF8 667E bne +0x80 /* 00000E78 */
label00000DFA:
00000DFA 206D D78A movea.l A0, [A5 - 0x2876]
00000DFE 1087 move.b [A0], D7
00000E00 7002 moveq.l D0, 0x02
00000E02 2F00 move.l -[A7], D0
00000E04 2F2D D78A move.l -[A7], [A5 - 0x2876]
00000E08 7204 moveq.l D1, 0x04
00000E0A 2F01 move.l -[A7], D1
00000E0C 4EBA 0E76 jsr [PC + 0xE76 /* 00001C84 */]
00000E10 4A00 tst.b D0
00000E12 4FEF 000C lea.l A7, [A7 + 0xC]
00000E16 6730 beq +0x32 /* 00000E48 */
00000E18 206D D78A movea.l A0, [A5 - 0x2876]
00000E1C 48C7 ext.l D7
00000E1E 226D D894 movea.l A1, [A5 - 0x276C]
00000E22 2007 move.l D0, D7
00000E24 2200 move.l D1, D0
00000E26 C0FC 0146 mulu.w D0, 0x146
00000E2A 4841 swap.w D1
00000E2C C2FC 0146 mulu.w D1, 0x146
00000E30 4841 swap.w D1
00000E32 4241 clr.w D1
00000E34 D081 add.l D0, D1
00000E36 45E9 025A lea.l A2, [A1 + 0x25A]
00000E3A 43F2 0800 lea.l A1, [A2 + D0]
00000E3E 7050 moveq.l D0, 0x50
label00000E40:
00000E40 22D8 move.l [A1]+, [A0]+
00000E42 51C8 FFFC dbf D0, -0x6 /* 00000E40 */
00000E46 32D8 move.w [A1]+, [A0]+
label00000E48:
00000E48 48C7 ext.l D7
00000E4A 206D D894 movea.l A0, [A5 - 0x276C]
00000E4E 2007 move.l D0, D7
00000E50 2200 move.l D1, D0
00000E52 C0FC 0146 mulu.w D0, 0x146
00000E56 4841 swap.w D1
00000E58 C2FC 0146 mulu.w D1, 0x146
00000E5C 4841 swap.w D1
00000E5E 4241 clr.w D1
00000E60 D081 add.l D0, D1
00000E62 43E8 025A lea.l A1, [A0 + 0x25A]
00000E66 41F1 0800 lea.l A0, [A1 + D0]
00000E6A 224C movea.l A1, A4
00000E6C 7050 moveq.l D0, 0x50
label00000E6E:
00000E6E 22D8 move.l [A1]+, [A0]+
00000E70 51C8 FFFC dbf D0, -0x6 /* 00000E6E */
00000E74 32D8 move.w [A1]+, [A0]+
00000E76 604E bra +0x50 /* 00000EC6 */
label00000E78:
00000E78 4EBA 06D6 jsr [PC + 0x6D6 /* 00001550 */]
00000E7C 1C00 move.b D6, D0
00000E7E 670C beq +0xE /* 00000E8C */
00000E80 4EBA 0592 jsr [PC + 0x592 /* 00001414 */]
00000E84 4EBA 0514 jsr [PC + 0x514 /* 0000139A */]
00000E88 4EBA 0622 jsr [PC + 0x622 /* 000014AC */]
label00000E8C:
00000E8C 48C7 ext.l D7
00000E8E 206D D894 movea.l A0, [A5 - 0x276C]
00000E92 2007 move.l D0, D7
00000E94 2200 move.l D1, D0
00000E96 C0FC 0146 mulu.w D0, 0x146
00000E9A 4841 swap.w D1
00000E9C C2FC 0146 mulu.w D1, 0x146
00000EA0 4841 swap.w D1
00000EA2 4241 clr.w D1
00000EA4 D081 add.l D0, D1
00000EA6 43E8 025A lea.l A1, [A0 + 0x25A]
00000EAA 41F1 0800 lea.l A0, [A1 + D0]
00000EAE 224C movea.l A1, A4
00000EB0 7050 moveq.l D0, 0x50
label00000EB2:
00000EB2 22D8 move.l [A1]+, [A0]+
00000EB4 51C8 FFFC dbf D0, -0x6 /* 00000EB2 */
00000EB8 32D8 move.w [A1]+, [A0]+
00000EBA 4A06 tst.b D6
00000EBC 6708 beq +0xA /* 00000EC6 */
00000EBE 4EBA 065C jsr [PC + 0x65C /* 0000151C */]
00000EC2 4EBA 0374 jsr [PC + 0x374 /* 00001238 */]
label00000EC6:
00000EC6 4CEE 14C0 FFF0 movem.l D6,D7,A2,A4, [A6 - 0x10]
00000ECC 4E5E unlink A6
00000ECE 4E75 rts
export_33:
fn00000ED0:
00000ED0 4E56 0000 link A6, 0
00000ED4 2F07 move.l -[A7], D7
00000ED6 7001 moveq.l D0, 0x01
00000ED8 B06D DADC cmp.w D0, [A5 - 0x2524]
00000EDC 6708 beq +0xA /* 00000EE6 */
00000EDE 7002 moveq.l D0, 0x02
00000EE0 B06D DADC cmp.w D0, [A5 - 0x2524]
00000EE4 6642 bne +0x44 /* 00000F28 */
label00000EE6:
00000EE6 7000 moveq.l D0, 0x00
00000EE8 2F00 move.l -[A7], D0
00000EEA 2F00 move.l -[A7], D0
00000EEC 7203 moveq.l D1, 0x03
00000EEE 2F01 move.l -[A7], D1
00000EF0 4EBA 0D92 jsr [PC + 0xD92 /* 00001C84 */]
00000EF4 4A00 tst.b D0
00000EF6 4FEF 000C lea.l A7, [A7 + 0xC]
00000EFA 6726 beq +0x28 /* 00000F22 */
00000EFC 206D D894 movea.l A0, [A5 - 0x276C]
00000F00 3E28 0258 move.w D7, [A0 + 0x258]
00000F04 206D D78A movea.l A0, [A5 - 0x2876]
00000F08 226D D894 movea.l A1, [A5 - 0x276C]
00000F0C 43E9 0026 lea.l A1, [A1 + 0x26]
00000F10 303C 008C move.w D0, 0x8C
label00000F14:
00000F14 22D8 move.l [A1]+, [A0]+
00000F16 51C8 FFFC dbf D0, -0x6 /* 00000F14 */
00000F1A 206D D894 movea.l A0, [A5 - 0x276C]
00000F1E 3147 0258 move.w [A0 + 0x258], D7
label00000F22:
00000F22 4EBA 0EDC jsr [PC + 0xEDC /* 00001E00 */]
00000F26 6024 bra +0x26 /* 00000F4C */
label00000F28:
00000F28 4EBA 0626 jsr [PC + 0x626 /* 00001550 */]
00000F2C 1E00 move.b D7, D0
00000F2E 670C beq +0xE /* 00000F3C */
00000F30 4EBA 04E2 jsr [PC + 0x4E2 /* 00001414 */]
00000F34 4EBA 0464 jsr [PC + 0x464 /* 0000139A */]
00000F38 4EBA 0572 jsr [PC + 0x572 /* 000014AC */]
label00000F3C:
00000F3C 4EBA 0EC2 jsr [PC + 0xEC2 /* 00001E00 */]
00000F40 4A07 tst.b D7
00000F42 6708 beq +0xA /* 00000F4C */
00000F44 4EBA 05D6 jsr [PC + 0x5D6 /* 0000151C */]
00000F48 4EBA 02EE jsr [PC + 0x2EE /* 00001238 */]
label00000F4C:
00000F4C 2E2E FFFC move.l D7, [A6 - 0x4]
00000F50 4E5E unlink A6
00000F52 4E75 rts
export_34:
fn00000F54:
00000F54 4E56 0000 link A6, 0
00000F58 2F07 move.l -[A7], D7
00000F5A 7002 moveq.l D0, 0x02
00000F5C B06D DADC cmp.w D0, [A5 - 0x2524]
00000F60 670A beq +0xC /* 00000F6C */
00000F62 7000 moveq.l D0, 0x00
00000F64 2F00 move.l -[A7], D0
00000F66 4EBA 0882 jsr [PC + 0x882 /* 000017EA */]
00000F6A 584F addq.w A7, 4
label00000F6C:
00000F6C 3B6D DADA DADC move.w [A5 - 0x2524], [A5 - 0x2526]
00000F72 6706 beq +0x8 /* 00000F7A */
00000F74 4EBA 09F6 jsr [PC + 0x9F6 /* 0000196C */]
00000F78 3E00 move.w D7, D0
label00000F7A:
00000F7A 7002 moveq.l D0, 0x02
00000F7C B06D DADC cmp.w D0, [A5 - 0x2524]
00000F80 6608 bne +0xA /* 00000F8A */
00000F82 4A47 tst.w D7
00000F84 6604 bne +0x6 /* 00000F8A */
00000F86 4EBA 0B20 jsr [PC + 0xB20 /* 00001AA8 */]
label00000F8A:
00000F8A 4EBA 0EB8 jsr [PC + 0xEB8 /* 00001E44 */]
00000F8E 2E2E FFFC move.l D7, [A6 - 0x4]
00000F92 4E5E unlink A6
00000F94 4E75 rts
export_35:
fn00000F96:
00000F96 4E56 0000 link A6, 0
00000F9A 4A6D DC9E tst.w [A5 - 0x2362]
00000F9E 6640 bne +0x42 /* 00000FE0 */
00000FA0 7001 moveq.l D0, 0x01
00000FA2 B06D DADC cmp.w D0, [A5 - 0x2524]
00000FA6 6708 beq +0xA /* 00000FB0 */
00000FA8 7002 moveq.l D0, 0x02
00000FAA B06D DADC cmp.w D0, [A5 - 0x2524]
00000FAE 6616 bne +0x18 /* 00000FC6 */
label00000FB0:
00000FB0 7000 moveq.l D0, 0x00
00000FB2 2F00 move.l -[A7], D0
00000FB4 2F00 move.l -[A7], D0
00000FB6 7202 moveq.l D1, 0x02
00000FB8 2F01 move.l -[A7], D1
00000FBA 4EBA 0CC8 jsr [PC + 0xCC8 /* 00001C84 */]
00000FBE 4A00 tst.b D0
00000FC0 4FEF 000C lea.l A7, [A7 + 0xC]
00000FC4 661A bne +0x1C /* 00000FE0 */
label00000FC6:
00000FC6 4A2D D76A tst.b [A5 - 0x2896]
00000FCA 6704 beq +0x6 /* 00000FD0 */
00000FCC 4EBA 03A8 jsr [PC + 0x3A8 /* 00001376 */]
label00000FD0:
00000FD0 4EBA 057E jsr [PC + 0x57E /* 00001550 */]
00000FD4 4EBA 043E jsr [PC + 0x43E /* 00001414 */]
00000FD8 4EBA 03C0 jsr [PC + 0x3C0 /* 0000139A */]
00000FDC 4EBA 04CE jsr [PC + 0x4CE /* 000014AC */]
label00000FE0:
00000FE0 4E5E unlink A6
00000FE2 4E75 rts
fn00000FE4:
00000FE4 4E56 0000 link A6, 0
00000FE8 48E7 0120 movem.l -[A7], D7,A2
00000FEC 3E2E 000A move.w D7, [A6 + 0xA]
00000FF0 70FF moveq.l D0, 0xFFFFFFFF
00000FF2 B06D D892 cmp.w D0, [A5 - 0x276E]
00000FF6 665E bne +0x60 /* 00001056 */
00000FF8 7001 moveq.l D0, 0x01
00000FFA B06D DADC cmp.w D0, [A5 - 0x2524]
00000FFE 6708 beq +0xA /* 00001008 */
00001000 7002 moveq.l D0, 0x02
00001002 B06D DADC cmp.w D0, [A5 - 0x2524]
00001006 664E bne +0x50 /* 00001056 */
label00001008:
00001008 206D D78A movea.l A0, [A5 - 0x2876]
0000100C 1087 move.b [A0], D7
0000100E 7002 moveq.l D0, 0x02
00001010 2F00 move.l -[A7], D0
00001012 2F2D D78A move.l -[A7], [A5 - 0x2876]
00001016 7204 moveq.l D1, 0x04
00001018 2F01 move.l -[A7], D1
0000101A 4EBA 0C68 jsr [PC + 0xC68 /* 00001C84 */]
0000101E 4A00 tst.b D0
00001020 4FEF 000C lea.l A7, [A7 + 0xC]
00001024 6730 beq +0x32 /* 00001056 */
00001026 206D D78A movea.l A0, [A5 - 0x2876]
0000102A 48C7 ext.l D7
0000102C 226D D894 movea.l A1, [A5 - 0x276C]
00001030 2007 move.l D0, D7
00001032 2200 move.l D1, D0
00001034 C0FC 0146 mulu.w D0, 0x146
00001038 4841 swap.w D1
0000103A C2FC 0146 mulu.w D1, 0x146
0000103E 4841 swap.w D1
00001040 4241 clr.w D1
00001042 D081 add.l D0, D1
00001044 45E9 025A lea.l A2, [A1 + 0x25A]
00001048 43F2 0800 lea.l A1, [A2 + D0]
0000104C 7050 moveq.l D0, 0x50
label0000104E:
0000104E 22D8 move.l [A1]+, [A0]+
00001050 51C8 FFFC dbf D0, -0x6 /* 0000104E */
00001054 32D8 move.w [A1]+, [A0]+
label00001056:
00001056 48C7 ext.l D7
00001058 206D D894 movea.l A0, [A5 - 0x276C]
0000105C 2007 move.l D0, D7
0000105E 2200 move.l D1, D0
00001060 C0FC 0146 mulu.w D0, 0x146
00001064 4841 swap.w D1
00001066 C2FC 0146 mulu.w D1, 0x146
0000106A 4841 swap.w D1
0000106C 4241 clr.w D1
0000106E D081 add.l D0, D1
00001070 226E 000C movea.l A1, [A6 + 0xC]
00001074 45E8 025A lea.l A2, [A0 + 0x25A]
00001078 41F2 0800 lea.l A0, [A2 + D0]
0000107C 7050 moveq.l D0, 0x50
label0000107E:
0000107E 22D8 move.l [A1]+, [A0]+
00001080 51C8 FFFC dbf D0, -0x6 /* 0000107E */
00001084 32D8 move.w [A1]+, [A0]+
00001086 4CEE 0480 FFF8 movem.l D7,A2, [A6 - 0x8]
0000108C 4E5E unlink A6
0000108E 4E75 rts
export_36:
fn00001090:
00001090 4E56 0000 link A6, 0
00001094 2F07 move.l -[A7], D7
00001096 4A6D DC9E tst.w [A5 - 0x2362]
0000109A 6658 bne +0x5A /* 000010F4 */
0000109C 70FF moveq.l D0, 0xFFFFFFFF
0000109E B06D D892 cmp.w D0, [A5 - 0x276E]
000010A2 664C bne +0x4E /* 000010F0 */
000010A4 7001 moveq.l D0, 0x01
000010A6 B06D DADC cmp.w D0, [A5 - 0x2524]
000010AA 6708 beq +0xA /* 000010B4 */
000010AC 7002 moveq.l D0, 0x02
000010AE B06D DADC cmp.w D0, [A5 - 0x2524]
000010B2 663C bne +0x3E /* 000010F0 */
label000010B4:
000010B4 7000 moveq.l D0, 0x00
000010B6 2F00 move.l -[A7], D0
000010B8 2F00 move.l -[A7], D0
000010BA 7203 moveq.l D1, 0x03
000010BC 2F01 move.l -[A7], D1
000010BE 4EBA 0BC4 jsr [PC + 0xBC4 /* 00001C84 */]
000010C2 4A00 tst.b D0
000010C4 4FEF 000C lea.l A7, [A7 + 0xC]
000010C8 6726 beq +0x28 /* 000010F0 */
000010CA 206D D894 movea.l A0, [A5 - 0x276C]
000010CE 3E28 0258 move.w D7, [A0 + 0x258]
000010D2 206D D78A movea.l A0, [A5 - 0x2876]
000010D6 226D D894 movea.l A1, [A5 - 0x276C]
000010DA 43E9 0026 lea.l A1, [A1 + 0x26]
000010DE 303C 008C move.w D0, 0x8C
label000010E2:
000010E2 22D8 move.l [A1]+, [A0]+
000010E4 51C8 FFFC dbf D0, -0x6 /* 000010E2 */
000010E8 206D D894 movea.l A0, [A5 - 0x276C]
000010EC 3147 0258 move.w [A0 + 0x258], D7
label000010F0:
000010F0 4EBA 0D0E jsr [PC + 0xD0E /* 00001E00 */]
label000010F4:
000010F4 2E2E FFFC move.l D7, [A6 - 0x4]
000010F8 4E5E unlink A6
000010FA 4E75 rts
fn000010FC:
000010FC 4E56 0000 link A6, 0
00001100 7002 moveq.l D0, 0x02
00001102 B06D DADC cmp.w D0, [A5 - 0x2524]
00001106 6612 bne +0x14 /* 0000111A */
00001108 4EBA 0900 jsr [PC + 0x900 /* 00001A0A */]
0000110C 7000 moveq.l D0, 0x00
0000110E 2F00 move.l -[A7], D0
00001110 4EBA 06D8 jsr [PC + 0x6D8 /* 000017EA */]
00001114 4EBA 0260 jsr [PC + 0x260 /* 00001376 */]
00001118 584F addq.w A7, 4
label0000111A:
0000111A 4AAD D894 tst.l [A5 - 0x276C]
0000111E 6706 beq +0x8 /* 00001126 */
00001120 206D D894 movea.l A0, [A5 - 0x276C]
00001124 A01F syscall DisposPtr/DisposePtr
label00001126:
00001126 4AAD D782 tst.l [A5 - 0x287E]
0000112A 6706 beq +0x8 /* 00001132 */
0000112C 206D D782 movea.l A0, [A5 - 0x287E]
00001130 A01F syscall DisposPtr/DisposePtr
label00001132:
00001132 4AAD D78A tst.l [A5 - 0x2876]
00001136 6706 beq +0x8 /* 0000113E */
00001138 206D D78A movea.l A0, [A5 - 0x2876]
0000113C A01F syscall DisposPtr/DisposePtr
label0000113E:
0000113E 4A2D D88C tst.b [A5 - 0x2774]
00001142 6616 bne +0x18 /* 0000115A */
00001144 1B6D D88C D7E2 move.b [A5 - 0x281E], [A5 - 0x2774]
0000114A 558F subq.l A7, 2
0000114C 486D D7C6 pea.l [A5 - 0x283A]
00001150 7000 moveq.l D0, 0x00
00001152 1F00 move.b -[A7], D0
00001154 4EBA 4F5C jsr [PC + 0x4F5C /* 000060B2 */]
00001158 544F addq.w A7, 2
label0000115A:
0000115A 4E5E unlink A6
0000115C 4E75 rts
fn0000115E:
0000115E 4E56 0000 link A6, 0
00001162 48E7 0108 movem.l -[A7], D7,A4
00001166 286E 000C movea.l A4, [A6 + 0xC]
0000116A 3E2E 000A move.w D7, [A6 + 0xA]
0000116E 48C7 ext.l D7
00001170 206D D894 movea.l A0, [A5 - 0x276C]
00001174 2007 move.l D0, D7
00001176 2200 move.l D1, D0
00001178 C0FC 0146 mulu.w D0, 0x146
0000117C 4841 swap.w D1
0000117E C2FC 0146 mulu.w D1, 0x146
00001182 4841 swap.w D1
00001184 4241 clr.w D1
00001186 D081 add.l D0, D1
00001188 43E8 025A lea.l A1, [A0 + 0x25A]
0000118C 41F1 0800 lea.l A0, [A1 + D0]
00001190 224C movea.l A1, A4
00001192 7050 moveq.l D0, 0x50
label00001194:
00001194 20D9 move.l [A0]+, [A1]+
00001196 51C8 FFFC dbf D0, -0x6 /* 00001194 */
0000119A 30D9 move.w [A0]+, [A1]+
0000119C 70FF moveq.l D0, 0xFFFFFFFF
0000119E B06D D892 cmp.w D0, [A5 - 0x276E]
000011A2 663E bne +0x40 /* 000011E2 */
000011A4 7001 moveq.l D0, 0x01
000011A6 B06D DADC cmp.w D0, [A5 - 0x2524]
000011AA 6708 beq +0xA /* 000011B4 */
000011AC 7002 moveq.l D0, 0x02
000011AE B06D DADC cmp.w D0, [A5 - 0x2524]
000011B2 662E bne +0x30 /* 000011E2 */
label000011B4:
000011B4 206D D78A movea.l A0, [A5 - 0x2876]
000011B8 1087 move.b [A0], D7
000011BA 206D D78A movea.l A0, [A5 - 0x2876]
000011BE 5488 addq.l A0, 2
000011C0 224C movea.l A1, A4
000011C2 7050 moveq.l D0, 0x50
label000011C4:
000011C4 20D9 move.l [A0]+, [A1]+
000011C6 51C8 FFFC dbf D0, -0x6 /* 000011C4 */
000011CA 30D9 move.w [A0]+, [A1]+
000011CC 4878 0148 push.l 0x148
000011D0 2F2D D78A move.l -[A7], [A5 - 0x2876]
000011D4 7006 moveq.l D0, 0x06
000011D6 2F00 move.l -[A7], D0
000011D8 4EBA 0AAA jsr [PC + 0xAAA /* 00001C84 */]
000011DC 4FEF 000C lea.l A7, [A7 + 0xC]
000011E0 6004 bra +0x6 /* 000011E6 */
label000011E2:
000011E2 4EBA 0404 jsr [PC + 0x404 /* 000015E8 */]
label000011E6:
000011E6 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000011EC 4E5E unlink A6
000011EE 4E75 rts
export_37:
fn000011F0:
000011F0 4E56 0000 link A6, 0
000011F4 4EBA 0BC2 jsr [PC + 0xBC2 /* 00001DB8 */]
000011F8 4A6D DC9E tst.w [A5 - 0x2362]
000011FC 6636 bne +0x38 /* 00001234 */
000011FE 70FF moveq.l D0, 0xFFFFFFFF
00001200 B06D D892 cmp.w D0, [A5 - 0x276E]
00001204 662A bne +0x2C /* 00001230 */
00001206 7001 moveq.l D0, 0x01
00001208 B06D DADC cmp.w D0, [A5 - 0x2524]
0000120C 6708 beq +0xA /* 00001216 */
0000120E 7002 moveq.l D0, 0x02
00001210 B06D DADC cmp.w D0, [A5 - 0x2524]
00001214 661A bne +0x1C /* 00001230 */
label00001216:
00001216 4878 0234 push.l 0x234
0000121A 206D D894 movea.l A0, [A5 - 0x276C]
0000121E 4868 0026 pea.l [A0 + 0x26]
00001222 7005 moveq.l D0, 0x05
00001224 2F00 move.l -[A7], D0
00001226 4EBA 0A5C jsr [PC + 0xA5C /* 00001C84 */]
0000122A 4FEF 000C lea.l A7, [A7 + 0xC]
0000122E 6004 bra +0x6 /* 00001234 */
label00001230:
00001230 4EBA 03B6 jsr [PC + 0x3B6 /* 000015E8 */]
label00001234:
00001234 4E5E unlink A6
00001236 4E75 rts
fn00001238:
00001238 4E56 0000 link A6, 0
0000123C 70FF moveq.l D0, 0xFFFFFFFF
0000123E B06D D892 cmp.w D0, [A5 - 0x276E]
00001242 660E bne +0x10 /* 00001252 */
00001244 486D D6DA pea.l [A5 - 0x2926]
00001248 70CD moveq.l D0, 0xFFFFFFCD
0000124A 2F00 move.l -[A7], D0
0000124C 4EBA 1D58 jsr [PC + 0x1D58 /* 00002FA6 */]
00001250 504F addq.w A7, 8
label00001252:
00001252 558F subq.l A7, 2
00001254 3F2D D892 move.w -[A7], [A5 - 0x276E]
00001258 4EBA 44CA jsr [PC + 0x44CA /* 00005724 */]
0000125C 558F subq.l A7, 2
0000125E 7000 moveq.l D0, 0x00
00001260 2F00 move.l -[A7], D0
00001262 3F2D D71E move.w -[A7], [A5 - 0x28E2]
00001266 4EBA 452E jsr [PC + 0x452E /* 00005796 */]
0000126A 3B7C FFFF D892 move.w [A5 - 0x276E], 0xFFFF
00001270 584F addq.w A7, 4
00001272 4E5E unlink A6
00001274 4E75 rts
fn00001276:
00001276 4E56 FFB0 link A6, -0x0050
0000127A 48E7 1118 movem.l -[A7], D3,D7,A3,A4
0000127E 598F subq.l A7, 4
00001280 2F3C 434F 4E46 move.l -[A7], 0x434F4E46 /* 'CONF' */
00001286 3F3C 03E8 move.w -[A7], 0x3E8
0000128A A9A0 syscall GetResource
0000128C 285F movea.l A4, [A7]+
0000128E 200C move.l D0, A4
00001290 6614 bne +0x16 /* 000012A6 */
00001292 486D D6EA pea.l [A5 - 0x2916]
00001296 558F subq.l A7, 2
00001298 A9AF syscall ResError
0000129A 301F move.w D0, [A7]+
0000129C 48C0 ext.l D0
0000129E 2F00 move.l -[A7], D0
000012A0 4EBA 1D04 jsr [PC + 0x1D04 /* 00002FA6 */]
000012A4 504F addq.w A7, 8
label000012A6:
000012A6 2654 movea.l A3, [A4]
000012A8 286D D894 movea.l A4, [A5 - 0x276C]
000012AC 4247 clr.w D7
000012AE 363C 0B44 move.w D3, 0xB44
label000012B2:
000012B2 18DB move.b [A4]+, [A3]+
000012B4 3007 move.w D0, D7
000012B6 5247 addq.w D7, 1
000012B8 B647 cmp.w D3, D7
000012BA 6EF6 bgt -0x8 /* 000012B2 */
000012BC 4A6D DC9E tst.w [A5 - 0x2362]
000012C0 670A beq +0xC /* 000012CC */
000012C2 1B7C 0001 D764 move.b [A5 - 0x289C], 0x1
000012C8 6000 00A2 bra +0xA4 /* 0000136C */
label000012CC:
000012CC 558F subq.l A7, 2
000012CE 3F2D D71E move.w -[A7], [A5 - 0x28E2]
000012D2 2F2D D720 move.l -[A7], [A5 - 0x28E0]
000012D6 486D D724 pea.l [A5 - 0x28DC]
000012DA 4EBA 47B2 jsr [PC + 0x47B2 /* 00005A8E */]
000012DE 558F subq.l A7, 2
000012E0 3F2D D71E move.w -[A7], [A5 - 0x28E2]
000012E4 2F2D D720 move.l -[A7], [A5 - 0x28E0]
000012E8 486D D724 pea.l [A5 - 0x28DC]
000012EC 2F3C 534D 554E move.l -[A7], 0x534D554E /* 'SMUN' */
000012F2 2F3C 534D 4346 move.l -[A7], 0x534D4346 /* 'SMCF' */
000012F8 4EBA 470E jsr [PC + 0x470E /* 00005A08 */]
000012FC 3E1F move.w D7, [A7]+
000012FE 544F addq.w A7, 2
00001300 6628 bne +0x2A /* 0000132A */
00001302 4EBA 0110 jsr [PC + 0x110 /* 00001414 */]
00001306 7000 moveq.l D0, 0x00
00001308 2D40 FFBC move.l [A6 - 0x44], D0
0000130C 3D6D D892 FFC8 move.w [A6 - 0x38], [A5 - 0x276E]
00001312 2D7C 0000 0B44 FFCC move.l [A6 - 0x34], 0xB44
0000131A 558F subq.l A7, 2
0000131C 486E FFB0 pea.l [A6 - 0x50]
00001320 7000 moveq.l D0, 0x00
00001322 1F00 move.b -[A7], D0
00001324 4EBA 43EC jsr [PC + 0x43EC /* 00005712 */]
00001328 3E1F move.w D7, [A7]+
label0000132A:
0000132A 4A47 tst.w D7
0000132C 660C bne +0xE /* 0000133A */
0000132E 4EBA 006A jsr [PC + 0x6A /* 0000139A */]
00001332 4EBA 02B4 jsr [PC + 0x2B4 /* 000015E8 */]
00001336 4EBA 01E4 jsr [PC + 0x1E4 /* 0000151C */]
label0000133A:
0000133A 70FF moveq.l D0, 0xFFFFFFFF
0000133C B06D D892 cmp.w D0, [A5 - 0x276E]
00001340 6704 beq +0x6 /* 00001346 */
00001342 4EBA FEF4 jsr [PC - 0x10C /* 00001238 */]
label00001346:
00001346 4A47 tst.w D7
00001348 6722 beq +0x24 /* 0000136C */
0000134A 558F subq.l A7, 2
0000134C 3F2D D71E move.w -[A7], [A5 - 0x28E2]
00001350 2F2D D720 move.l -[A7], [A5 - 0x28E0]
00001354 486D D724 pea.l [A5 - 0x28DC]
00001358 4EBA 4734 jsr [PC + 0x4734 /* 00005A8E */]
0000135C 7001 moveq.l D0, 0x01
0000135E 2F00 move.l -[A7], D0
00001360 48C7 ext.l D7
00001362 2F07 move.l -[A7], D7
00001364 4EBA 1CCC jsr [PC + 0x1CCC /* 00003032 */]
00001368 4FEF 000A lea.l A7, [A7 + 0xA]
label0000136C:
0000136C 4CEE 1888 FFA0 movem.l D3,D7,A3,A4, [A6 - 0x60]
00001372 4E5E unlink A6
00001374 4E75 rts
fn00001376:
00001376 4E56 0000 link A6, 0
0000137A 422D D76A clr.b [A5 - 0x2896]
0000137E 4EBA 01D0 jsr [PC + 0x1D0 /* 00001550 */]
00001382 4EBA 0090 jsr [PC + 0x90 /* 00001414 */]
00001386 4EBA 0012 jsr [PC + 0x12 /* 0000139A */]
0000138A 4EBA 025C jsr [PC + 0x25C /* 000015E8 */]
0000138E 4EBA 018C jsr [PC + 0x18C /* 0000151C */]
00001392 4EBA FEA4 jsr [PC - 0x15C /* 00001238 */]
00001396 4E5E unlink A6
00001398 4E75 rts
fn0000139A:
0000139A 4E56 FFAC link A6, -0x0054
0000139E 48E7 0300 movem.l -[A7], D6,D7
000013A2 7000 moveq.l D0, 0x00
000013A4 2D40 FFBC move.l [A6 - 0x44], D0
000013A8 3D6D D892 FFC8 move.w [A6 - 0x38], [A5 - 0x276E]
000013AE 2D7C 0000 0B44 FFD4 move.l [A6 - 0x2C], 0xB44
000013B6 3D7C 0001 FFDC move.w [A6 - 0x24], 0x1
000013BC 2D40 FFDE move.l [A6 - 0x22], D0
000013C0 7E14 moveq.l D7, 0x14
000013C2 6042 bra +0x44 /* 00001406 */
label000013C4:
000013C4 558F subq.l A7, 2
000013C6 486E FFB0 pea.l [A6 - 0x50]
000013CA 7000 moveq.l D0, 0x00
000013CC 1F00 move.b -[A7], D0
000013CE 4EBA 4448 jsr [PC + 0x4448 /* 00005818 */]
000013D2 3C1F move.w D6, [A7]+
000013D4 6604 bne +0x6 /* 000013DA */
000013D6 4247 clr.w D7
000013D8 602C bra +0x2E /* 00001406 */
label000013DA:
000013DA 5347 subq.w D7, 1
000013DC 6C0E bge +0x10 /* 000013EC */
000013DE 7001 moveq.l D0, 0x01
000013E0 2F00 move.l -[A7], D0
000013E2 48C6 ext.l D6
000013E4 2F06 move.l -[A7], D6
000013E6 4EBA 1C4A jsr [PC + 0x1C4A /* 00003032 */]
000013EA 504F addq.w A7, 8
label000013EC:
000013EC 703C moveq.l D0, 0x3C
000013EE 2F00 move.l -[A7], D0
000013F0 4EBA F6C4 jsr [PC - 0x93C /* 00000AB6 */]
000013F4 48C0 ext.l D0
000013F6 721E moveq.l D1, 0x1E
000013F8 D081 add.l D0, D1
000013FA 2040 movea.l A0, D0
000013FC 43EE FFAC lea.l A1, [A6 - 0x54]
00001400 A03B syscall Delay
00001402 2280 move.l [A1], D0
00001404 584F addq.w A7, 4
label00001406:
00001406 4A47 tst.w D7
00001408 6EBA bgt -0x44 /* 000013C4 */
0000140A 4CEE 00C0 FFA4 movem.l D6,D7, [A6 - 0x5C]
00001410 4E5E unlink A6
00001412 4E75 rts
fn00001414:
00001414 4E56 FFFC link A6, -0x0004
00001418 48E7 0300 movem.l -[A7], D6,D7
0000141C 7C14 moveq.l D6, 0x14
0000141E 606C bra +0x6E /* 0000148C */
label00001420:
00001420 558F subq.l A7, 2
00001422 3F2D D71E move.w -[A7], [A5 - 0x28E2]
00001426 2F2D D720 move.l -[A7], [A5 - 0x28E0]
0000142A 486D D724 pea.l [A5 - 0x28DC]
0000142E 7004 moveq.l D0, 0x04
00001430 1F00 move.b -[A7], D0
00001432 486D D892 pea.l [A5 - 0x276E]
00001436 4EBA 4576 jsr [PC + 0x4576 /* 000059AE */]
0000143A 3E1F move.w D7, [A7]+
0000143C 6604 bne +0x6 /* 00001442 */
0000143E 4246 clr.w D6
00001440 604A bra +0x4C /* 0000148C */
label00001442:
00001442 3006 move.w D0, D6
00001444 5346 subq.w D6, 1
00001446 3007 move.w D0, D7
00001448 0440 FFCA subi.w D0, 0xFFCA
0000144C 6706 beq +0x8 /* 00001454 */
0000144E 5B40 subq.w D0, 5
00001450 671C beq +0x1E /* 0000146E */
00001452 6036 bra +0x38 /* 0000148A */
label00001454:
00001454 558F subq.l A7, 2
00001456 3F2D D71E move.w -[A7], [A5 - 0x28E2]
0000145A 2F2D D720 move.l -[A7], [A5 - 0x28E0]
0000145E 486D D724 pea.l [A5 - 0x28DC]
00001462 4EBA 46C8 jsr [PC + 0x46C8 /* 00005B2C */]
00001466 3E1F move.w D7, [A7]+
00001468 6722 beq +0x24 /* 0000148C */
0000146A 4246 clr.w D6
0000146C 601E bra +0x20 /* 0000148C */
label0000146E:
0000146E 703C moveq.l D0, 0x3C
00001470 2F00 move.l -[A7], D0
00001472 4EBA F642 jsr [PC - 0x9BE /* 00000AB6 */]
00001476 48C0 ext.l D0
00001478 721E moveq.l D1, 0x1E
0000147A D081 add.l D0, D1
0000147C 2040 movea.l A0, D0
0000147E 43EE FFFC lea.l A1, [A6 - 0x4]
00001482 A03B syscall Delay
00001484 2280 move.l [A1], D0
00001486 584F addq.w A7, 4
00001488 6002 bra +0x4 /* 0000148C */
label0000148A:
0000148A 4246 clr.w D6
label0000148C:
0000148C 4A46 tst.w D6
0000148E 6E90 bgt -0x6E /* 00001420 */
00001490 4A47 tst.w D7
00001492 670E beq +0x10 /* 000014A2 */
00001494 7001 moveq.l D0, 0x01
00001496 2F00 move.l -[A7], D0
00001498 48C7 ext.l D7
0000149A 2F07 move.l -[A7], D7
0000149C 4EBA 1B94 jsr [PC + 0x1B94 /* 00003032 */]
000014A0 504F addq.w A7, 8
label000014A2:
000014A2 4CEE 00C0 FFF4 movem.l D6,D7, [A6 - 0xC]
000014A8 4E5E unlink A6
000014AA 4E75 rts
fn000014AC:
000014AC 4E56 FFB0 link A6, -0x0050
000014B0 2F07 move.l -[A7], D7
000014B2 7000 moveq.l D0, 0x00
000014B4 2D40 FFBC move.l [A6 - 0x44], D0
000014B8 3D6D D892 FFC8 move.w [A6 - 0x38], [A5 - 0x276E]
000014BE 2D6D D894 FFD0 move.l [A6 - 0x30], [A5 - 0x276C]
000014C4 2D7C 0000 0B44 FFD4 move.l [A6 - 0x2C], 0xB44
000014CC 3D7C 0001 FFDC move.w [A6 - 0x24], 0x1
000014D2 2D40 FFDE move.l [A6 - 0x22], D0
000014D6 558F subq.l A7, 2
000014D8 486E FFB0 pea.l [A6 - 0x50]
000014DC 7000 moveq.l D0, 0x00
000014DE 1F00 move.b -[A7], D0
000014E0 4EBA 41E8 jsr [PC + 0x41E8 /* 000056CA */]
000014E4 3E1F move.w D7, [A7]+
000014E6 672C beq +0x2E /* 00001514 */
000014E8 0C47 FFD9 cmpi.w D7, 0xFFD9
000014EC 6618 bne +0x1A /* 00001506 */
000014EE 206D D894 movea.l A0, [A5 - 0x276C]
000014F2 7002 moveq.l D0, 0x02
000014F4 B068 0004 cmp.w D0, [A0 + 0x4]
000014F8 670C beq +0xE /* 00001506 */
000014FA 700B moveq.l D0, 0x0B
000014FC 2F00 move.l -[A7], D0
000014FE 4EBA 088C jsr [PC + 0x88C /* 00001D8C */]
00001502 584F addq.w A7, 4
00001504 600E bra +0x10 /* 00001514 */
label00001506:
00001506 7001 moveq.l D0, 0x01
00001508 2F00 move.l -[A7], D0
0000150A 48C7 ext.l D7
0000150C 2F07 move.l -[A7], D7
0000150E 4EBA 1B22 jsr [PC + 0x1B22 /* 00003032 */]
00001512 504F addq.w A7, 8
label00001514:
00001514 2E2E FFAC move.l D7, [A6 - 0x54]
00001518 4E5E unlink A6
0000151A 4E75 rts
fn0000151C:
0000151C 4E56 FFB0 link A6, -0x0050
00001520 7000 moveq.l D0, 0x00
00001522 2D40 FFBC move.l [A6 - 0x44], D0
00001526 3D6D D892 FFC8 move.w [A6 - 0x38], [A5 - 0x276E]
0000152C 2D7C 0000 0B44 FFD4 move.l [A6 - 0x2C], 0xB44
00001534 3D7C 0001 FFDC move.w [A6 - 0x24], 0x1
0000153A 2D40 FFDE move.l [A6 - 0x22], D0
0000153E 558F subq.l A7, 2
00001540 486E FFB0 pea.l [A6 - 0x50]
00001544 7000 moveq.l D0, 0x00
00001546 1F00 move.b -[A7], D0
00001548 4EBA 42E4 jsr [PC + 0x42E4 /* 0000582E */]
0000154C 4E5E unlink A6
0000154E 4E75 rts
fn00001550:
00001550 4E56 FF86 link A6, -0x007A
00001554 2F07 move.l -[A7], D7
00001556 4A6D DC9E tst.w [A5 - 0x2362]
0000155A 670E beq +0x10 /* 0000156A */
0000155C 4A2D D764 tst.b [A5 - 0x289C]
00001560 6604 bne +0x6 /* 00001566 */
00001562 4EBA FD12 jsr [PC - 0x2EE /* 00001276 */]
label00001566:
00001566 7000 moveq.l D0, 0x00
00001568 6076 bra +0x78 /* 000015E0 */
label0000156A:
0000156A 7000 moveq.l D0, 0x00
0000156C 2D40 FF92 move.l [A6 - 0x6E], D0
00001570 41ED D724 lea.l A0, [A5 - 0x28DC]
00001574 2D48 FF98 move.l [A6 - 0x68], A0
00001578 3D6D D71E FF9C move.w [A6 - 0x64], [A5 - 0x28E2]
0000157E 2D6D D720 FFB6 move.l [A6 - 0x4A], [A5 - 0x28E0]
00001584 422E FFA0 clr.b [A6 - 0x60]
00001588 426E FFA2 clr.w [A6 - 0x5E]
0000158C 558F subq.l A7, 2
0000158E 486E FF86 pea.l [A6 - 0x7A]
00001592 7000 moveq.l D0, 0x00
00001594 1F00 move.b -[A7], D0
00001596 4EBA 42F4 jsr [PC + 0x42F4 /* 0000588C */]
0000159A 3E1F move.w D7, [A7]+
0000159C 670E beq +0x10 /* 000015AC */
0000159E 0C47 FFD5 cmpi.w D7, 0xFFD5
000015A2 6604 bne +0x6 /* 000015A8 */
000015A4 4EBA FCD0 jsr [PC - 0x330 /* 00001276 */]
label000015A8:
000015A8 7001 moveq.l D0, 0x01
000015AA 6034 bra +0x36 /* 000015E0 */
label000015AC:
000015AC 0CAE 534D 4346 FFA6 cmpi.l [A6 - 0x5A], 0x534D4346 /* 'SMCF' */
000015B4 660A bne +0xC /* 000015C0 */
000015B6 0CAE 534D 554E FFAA cmpi.l [A6 - 0x56], 0x534D554E /* 'SMUN' */
000015BE 670A beq +0xC /* 000015CA */
label000015C0:
000015C0 700C moveq.l D0, 0x0C
000015C2 2F00 move.l -[A7], D0
000015C4 4EBA 07C6 jsr [PC + 0x7C6 /* 00001D8C */]
000015C8 584F addq.w A7, 4
label000015CA:
000015CA 202E FFD2 move.l D0, [A6 - 0x2E]
000015CE B0AD D88E cmp.l D0, [A5 - 0x2772]
000015D2 670A beq +0xC /* 000015DE */
000015D4 2B6E FFD2 D88E move.l [A5 - 0x2772], [A6 - 0x2E]
000015DA 7001 moveq.l D0, 0x01
000015DC 6002 bra +0x4 /* 000015E0 */
label000015DE:
000015DE 7000 moveq.l D0, 0x00
label000015E0:
000015E0 2E2E FF82 move.l D7, [A6 - 0x7E]
000015E4 4E5E unlink A6
000015E6 4E75 rts
fn000015E8:
000015E8 4E56 FFB0 link A6, -0x0050
000015EC 2F07 move.l -[A7], D7
label000015EE:
000015EE 7000 moveq.l D0, 0x00
000015F0 2D40 FFBC move.l [A6 - 0x44], D0
000015F4 3D6D D892 FFC8 move.w [A6 - 0x38], [A5 - 0x276E]
000015FA 2D6D D894 FFD0 move.l [A6 - 0x30], [A5 - 0x276C]
00001600 2D7C 0000 0B44 FFD4 move.l [A6 - 0x2C], 0xB44
00001608 3D7C 0001 FFDC move.w [A6 - 0x24], 0x1
0000160E 2D40 FFDE move.l [A6 - 0x22], D0
00001612 558F subq.l A7, 2
00001614 486E FFB0 pea.l [A6 - 0x50]
00001618 7000 moveq.l D0, 0x00
0000161A 1F00 move.b -[A7], D0
0000161C 4EBA 40BE jsr [PC + 0x40BE /* 000056DC */]
00001620 3E1F move.w D7, [A7]+
00001622 670A beq +0xC /* 0000162E */
00001624 48C7 ext.l D7
00001626 2F07 move.l -[A7], D7
00001628 4EBA 0876 jsr [PC + 0x876 /* 00001EA0 */]
0000162C 584F addq.w A7, 4
label0000162E:
0000162E 4A47 tst.w D7
00001630 66BC bne -0x42 /* 000015EE */
00001632 2E2E FFAC move.l D7, [A6 - 0x54]
00001636 4E5E unlink A6
00001638 4E75 rts
fn0000163A:
0000163A 4E56 0000 link A6, 0
0000163E 48E7 0720 movem.l -[A7], D5,D6,D7,A2
00001642 206E 0008 movea.l A0, [A6 + 0x8]
00001646 43ED D814 lea.l A1, [A5 - 0x27EC]
0000164A 700C moveq.l D0, 0x0C
label0000164C:
0000164C 22D8 move.l [A1]+, [A0]+
0000164E 51C8 FFFC dbf D0, -0x6 /* 0000164C */
00001652 598F subq.l A7, 4
00001654 A975 syscall TickCount
00001656 2E1F move.l D7, [A7]+
00001658 4A2D D770 tst.b [A5 - 0x2890]
0000165C 6712 beq +0x14 /* 00001670 */
0000165E 2007 move.l D0, D7
00001660 90BC 0000 012C sub.l D0, 0x12C
00001666 B0AD D76C cmp.l D0, [A5 - 0x2894]
0000166A 6304 bls +0x6 /* 00001670 */
0000166C 422D D770 clr.b [A5 - 0x2890]
label00001670:
00001670 202D D826 move.l D0, [A5 - 0x27DA]
00001674 5380 subq.l D0, 1
00001676 6B00 015C bmi +0x15E /* 000017D4 */
0000167A 0C80 0000 0006 cmpi.l D0, 0x6
00001680 6E00 0152 bgt +0x154 /* 000017D4 */
00001684 D080 add.l D0, D0
00001686 303B 0806 move.w D0, [PC + D0 + 0x6]
0000168A 4EFB 0000 jmp [PC + D0.w]
0000168E 0010 002A ori.b [A0], 0x2A /* '*' */
00001692 004C 0062 ori.w A4, 0x62 /* 'b' */
00001696 009C 00E2 0138 ori.l [A4]+, 0xE20138
0000169C 7000 moveq.l D0, 0x00
0000169E 2F00 move.l -[A7], D0
000016A0 2F00 move.l -[A7], D0
000016A2 4EBA 0666 jsr [PC + 0x666 /* 00001D0A */]
000016A6 7001 moveq.l D0, 0x01
000016A8 2F00 move.l -[A7], D0
000016AA 4EBA 013E jsr [PC + 0x13E /* 000017EA */]
000016AE 4FEF 000C lea.l A7, [A7 + 0xC]
000016B2 6000 0120 bra +0x122 /* 000017D4 */
000016B6 4A2D D770 tst.b [A5 - 0x2890]
000016BA 6600 0118 bne +0x11A /* 000017D4 */
000016BE 7000 moveq.l D0, 0x00
000016C0 2F00 move.l -[A7], D0
000016C2 2F00 move.l -[A7], D0
000016C4 4EBA 0644 jsr [PC + 0x644 /* 00001D0A */]
000016C8 1B7C 0001 D770 move.b [A5 - 0x2890], 0x1
000016CE 2B47 D76C move.l [A5 - 0x2894], D7
000016D2 504F addq.w A7, 8
000016D4 6000 00FE bra +0x100 /* 000017D4 */
000016D8 4878 0234 push.l 0x234
000016DC 206D D894 movea.l A0, [A5 - 0x276C]
000016E0 4868 0026 pea.l [A0 + 0x26]
000016E4 4EBA 0624 jsr [PC + 0x624 /* 00001D0A */]
000016E8 504F addq.w A7, 8
000016EA 6000 00E8 bra +0xEA /* 000017D4 */
000016EE 206D D838 movea.l A0, [A5 - 0x27C8]
000016F2 1010 move.b D0, [A0]
000016F4 4880 ext.w D0
000016F6 3C00 move.w D6, D0
000016F8 4878 0146 push.l 0x146
000016FC 48C6 ext.l D6
000016FE 206D D894 movea.l A0, [A5 - 0x276C]
00001702 2006 move.l D0, D6
00001704 2200 move.l D1, D0
00001706 C0FC 0146 mulu.w D0, 0x146
0000170A 4841 swap.w D1
0000170C C2FC 0146 mulu.w D1, 0x146
00001710 4841 swap.w D1
00001712 4241 clr.w D1
00001714 D081 add.l D0, D1
00001716 41E8 025A lea.l A0, [A0 + 0x25A]
0000171A 4870 0800 pea.l [A0 + D0]
0000171E 4EBA 05EA jsr [PC + 0x5EA /* 00001D0A */]
00001722 504F addq.w A7, 8
00001724 6000 00AE bra +0xB0 /* 000017D4 */
00001728 4A2D D770 tst.b [A5 - 0x2890]
0000172C 6700 00A6 beq +0xA8 /* 000017D4 */
00001730 206D D894 movea.l A0, [A5 - 0x276C]
00001734 3A28 0258 move.w D5, [A0 + 0x258]
00001738 206D D838 movea.l A0, [A5 - 0x27C8]
0000173C 226D D894 movea.l A1, [A5 - 0x276C]
00001740 43E9 0026 lea.l A1, [A1 + 0x26]
00001744 303C 008C move.w D0, 0x8C
label00001748:
00001748 22D8 move.l [A1]+, [A0]+
0000174A 51C8 FFFC dbf D0, -0x6 /* 00001748 */
0000174E 206D D894 movea.l A0, [A5 - 0x276C]
00001752 3145 0258 move.w [A0 + 0x258], D5
00001756 1B7C 0001 D76A move.b [A5 - 0x2896], 0x1
0000175C 2B47 D766 move.l [A5 - 0x289A], D7
00001760 7000 moveq.l D0, 0x00
00001762 2F00 move.l -[A7], D0
00001764 2F00 move.l -[A7], D0
00001766 4EBA 05A2 jsr [PC + 0x5A2 /* 00001D0A */]
0000176A 504F addq.w A7, 8
0000176C 6066 bra +0x68 /* 000017D4 */
0000176E 4A2D D770 tst.b [A5 - 0x2890]
00001772 6760 beq +0x62 /* 000017D4 */
00001774 206D D838 movea.l A0, [A5 - 0x27C8]
00001778 1010 move.b D0, [A0]
0000177A 4880 ext.w D0
0000177C 3C00 move.w D6, D0
0000177E 48C6 ext.l D6
00001780 226D D894 movea.l A1, [A5 - 0x276C]
00001784 2006 move.l D0, D6
00001786 2200 move.l D1, D0
00001788 C0FC 0146 mulu.w D0, 0x146
0000178C 4841 swap.w D1
0000178E C2FC 0146 mulu.w D1, 0x146
00001792 4841 swap.w D1
00001794 4241 clr.w D1
00001796 D081 add.l D0, D1
00001798 45E9 025A lea.l A2, [A1 + 0x25A]
0000179C 43F2 0800 lea.l A1, [A2 + D0]
000017A0 5488 addq.l A0, 2
000017A2 7050 moveq.l D0, 0x50
label000017A4:
000017A4 22D8 move.l [A1]+, [A0]+
000017A6 51C8 FFFC dbf D0, -0x6 /* 000017A4 */
000017AA 32D8 move.w [A1]+, [A0]+
000017AC 1B7C 0001 D76A move.b [A5 - 0x2896], 0x1
000017B2 2B47 D766 move.l [A5 - 0x289A], D7
000017B6 7000 moveq.l D0, 0x00
000017B8 2F00 move.l -[A7], D0
000017BA 2F00 move.l -[A7], D0
000017BC 4EBA 054C jsr [PC + 0x54C /* 00001D0A */]
000017C0 504F addq.w A7, 8
000017C2 6010 bra +0x12 /* 000017D4 */
000017C4 422D D770 clr.b [A5 - 0x2890]
000017C8 7000 moveq.l D0, 0x00
000017CA 2F00 move.l -[A7], D0
000017CC 2F00 move.l -[A7], D0
000017CE 4EBA 053A jsr [PC + 0x53A /* 00001D0A */]
000017D2 504F addq.w A7, 8
label000017D4:
000017D4 7001 moveq.l D0, 0x01
000017D6 B0AD D826 cmp.l D0, [A5 - 0x27DA]
000017DA 6704 beq +0x6 /* 000017E0 */
000017DC 4EBA 057E jsr [PC + 0x57E /* 00001D5C */]
label000017E0:
000017E0 4CEE 04E0 FFF0 movem.l D5,D6,D7,A2, [A6 - 0x10]
000017E6 4E5E unlink A6
000017E8 4E75 rts
fn000017EA:
000017EA 4E56 0000 link A6, 0
000017EE 2F07 move.l -[A7], D7
000017F0 1E2E 000B move.b D7, [A6 + 0xB]
000017F4 4AAD D786 tst.l [A5 - 0x287A]
000017F8 672C beq +0x2E /* 00001826 */
000017FA 7000 moveq.l D0, 0x00
000017FC 2B40 D7D2 move.l [A5 - 0x282E], D0
00001800 222D D786 move.l D1, [A5 - 0x287A]
00001804 7409 moveq.l D2, 0x09
00001806 D282 add.l D1, D2
00001808 2B41 D7E4 move.l [A5 - 0x281C], D1
0000180C 558F subq.l A7, 2
0000180E 486D D7C6 pea.l [A5 - 0x283A]
00001812 1F07 move.b -[A7], D7
00001814 4EBA 4896 jsr [PC + 0x4896 /* 000060AC */]
00001818 206D D786 movea.l A0, [A5 - 0x287A]
0000181C A01F syscall DisposPtr/DisposePtr
0000181E 7000 moveq.l D0, 0x00
00001820 2B40 D786 move.l [A5 - 0x287A], D0
00001824 544F addq.w A7, 2
label00001826:
00001826 4A2D D7AE tst.b [A5 - 0x2852]
0000182A 6714 beq +0x16 /* 00001840 */
0000182C 7000 moveq.l D0, 0x00
0000182E 2B40 D79E move.l [A5 - 0x2862], D0
00001832 558F subq.l A7, 2
00001834 486D D792 pea.l [A5 - 0x286E]
00001838 1F07 move.b -[A7], D7
0000183A 4EBA 4894 jsr [PC + 0x4894 /* 000060D0 */]
0000183E 544F addq.w A7, 2
label00001840:
00001840 2E2E FFFC move.l D7, [A6 - 0x4]
00001844 4E5E unlink A6
00001846 4E75 rts
fn00001848:
00001848 4E56 FE36 link A6, -0x01CA
0000184C 48E7 0118 movem.l -[A7], D7,A3,A4
00001850 47EE FE36 lea.l A3, [A6 - 0x1CA]
00001854 49EE FF36 lea.l A4, [A6 - 0xCA]
00001858 4AAD D782 tst.l [A5 - 0x287E]
0000185C 673C beq +0x3E /* 0000189A */
0000185E 1B7C 0002 D7E2 move.b [A5 - 0x281E], 0x2
00001864 1B7C 0004 D7E3 move.b [A5 - 0x281D], 0x4
0000186A 2B6D D782 D7E4 move.l [A5 - 0x281C], [A5 - 0x287E]
00001870 2B6D D77E D7E8 move.l [A5 - 0x2818], [A5 - 0x2882]
00001876 558F subq.l A7, 2
00001878 486D D7C6 pea.l [A5 - 0x283A]
0000187C 7000 moveq.l D0, 0x00
0000187E 1F00 move.b -[A7], D0
00001880 4EBA 4824 jsr [PC + 0x4824 /* 000060A6 */]
00001884 3E1F move.w D7, [A7]+
00001886 6606 bne +0x8 /* 0000188E */
00001888 7001 moveq.l D0, 0x01
0000188A 6000 00D6 bra +0xD8 /* 00001962 */
label0000188E:
0000188E 206D D782 movea.l A0, [A5 - 0x287E]
00001892 A01F syscall DisposPtr/DisposePtr
00001894 7000 moveq.l D0, 0x00
00001896 2B40 D782 move.l [A5 - 0x287E], D0
label0000189A:
0000189A 4AAD D782 tst.l [A5 - 0x287E]
0000189E 6600 00C0 bne +0xC2 /* 00001960 */
000018A2 2F0B move.l -[A7], A3
000018A4 3F3C 0FA0 move.w -[A7], 0xFA0
000018A8 7009 moveq.l D0, 0x09
000018AA 3F00 move.w -[A7], D0
000018AC 4EBA 4332 jsr [PC + 0x4332 /* 00005BE0 */]
000018B0 486E FF9A pea.l [A6 - 0x66]
000018B4 486D D86A pea.l [A5 - 0x2796]
000018B8 2F0B move.l -[A7], A3
000018BA 486D D848 pea.l [A5 - 0x27B8]
000018BE 4EBA 491C jsr [PC + 0x491C /* 000061DC */]
000018C2 1B7C 0002 D7E2 move.b [A5 - 0x281E], 0x2
000018C8 1B7C 0004 D7E3 move.b [A5 - 0x281D], 0x4
000018CE 41EE FF9A lea.l A0, [A6 - 0x66]
000018D2 2B48 D7E4 move.l [A5 - 0x281C], A0
000018D6 2B4C D7E8 move.l [A5 - 0x2818], A4
000018DA 3B7C 0064 D7EC move.w [A5 - 0x2814], 0x64 /* 'd' */
000018E0 3B7C 0001 D7EE move.w [A5 - 0x2812], 0x1
000018E6 558F subq.l A7, 2
000018E8 486D D7C6 pea.l [A5 - 0x283A]
000018EC 7000 moveq.l D0, 0x00
000018EE 1F00 move.b -[A7], D0
000018F0 4EBA 47AE jsr [PC + 0x47AE /* 000060A0 */]
000018F4 3E1F move.w D7, [A7]+
000018F6 6668 bne +0x6A /* 00001960 */
000018F8 4A6D D7F0 tst.w [A5 - 0x2810]
000018FC 6F62 ble +0x64 /* 00001960 */
000018FE 7066 moveq.l D0, 0x66
00001900 A11E syscall NewPtr, flags=1
00001902 2B48 D782 move.l [A5 - 0x287E], A0
00001906 660E bne +0x10 /* 00001916 */
00001908 486D D6F8 pea.l [A5 - 0x2908]
0000190C 7094 moveq.l D0, 0xFFFFFF94
0000190E 2F00 move.l -[A7], D0
00001910 4EBA 1694 jsr [PC + 0x1694 /* 00002FA6 */]
00001914 504F addq.w A7, 8
label00001916:
00001916 558F subq.l A7, 2
00001918 2F0C move.l -[A7], A4
0000191A 7001 moveq.l D0, 0x01
0000191C 3F00 move.w -[A7], D0
0000191E 3F00 move.w -[A7], D0
00001920 2F2D D782 move.l -[A7], [A5 - 0x287E]
00001924 486D D77E pea.l [A5 - 0x2882]
00001928 4EBA 4AA0 jsr [PC + 0x4AA0 /* 000063CA */]
0000192C 3E1F move.w D7, [A7]+
0000192E 2F2D D782 move.l -[A7], [A5 - 0x287E]
00001932 202D D782 move.l D0, [A5 - 0x287E]
00001936 2F00 move.l -[A7], D0
00001938 7222 moveq.l D1, 0x22
0000193A D081 add.l D0, D1
0000193C 2F00 move.l -[A7], D0
0000193E 202D D782 move.l D0, [A5 - 0x287E]
00001942 7444 moveq.l D2, 0x44
00001944 D082 add.l D0, D2
00001946 2F00 move.l -[A7], D0
00001948 4EBA 4892 jsr [PC + 0x4892 /* 000061DC */]
0000194C 4A47 tst.w D7
0000194E 6604 bne +0x6 /* 00001954 */
00001950 7001 moveq.l D0, 0x01
00001952 600E bra +0x10 /* 00001962 */
label00001954:
00001954 206D D782 movea.l A0, [A5 - 0x287E]
00001958 A01F syscall DisposPtr/DisposePtr
0000195A 7000 moveq.l D0, 0x00
0000195C 2B40 D782 move.l [A5 - 0x287E], D0
label00001960:
00001960 7000 moveq.l D0, 0x00
label00001962:
00001962 4CEE 1880 FE2A movem.l D7,A3,A4, [A6 - 0x1D6]
00001968 4E5E unlink A6
0000196A 4E75 rts
fn0000196C:
0000196C 4E56 FF00 link A6, -0x0100
00001970 48E7 0108 movem.l -[A7], D7,A4
00001974 49EE FF00 lea.l A4, [A6 - 0x100]
00001978 558F subq.l A7, 2
0000197A 4EBA 49F8 jsr [PC + 0x49F8 /* 00006374 */]
0000197E 3E1F move.w D7, [A7]+
00001980 6608 bne +0xA /* 0000198A */
00001982 558F subq.l A7, 2
00001984 4EBA 4A32 jsr [PC + 0x4A32 /* 000063B8 */]
00001988 3E1F move.w D7, [A7]+
label0000198A:
0000198A 4A47 tst.w D7
0000198C 671E beq +0x20 /* 000019AC */
0000198E 426D DADC clr.w [A5 - 0x2524]
00001992 2F0C move.l -[A7], A4
00001994 3F3C 0FA0 move.w -[A7], 0xFA0
00001998 700D moveq.l D0, 0x0D
0000199A 3F00 move.w -[A7], D0
0000199C 4EBA 4242 jsr [PC + 0x4242 /* 00005BE0 */]
000019A0 2F0C move.l -[A7], A4
000019A2 4EBA F098 jsr [PC - 0xF68 /* 00000A3C */]
000019A6 3007 move.w D0, D7
000019A8 584F addq.w A7, 4
000019AA 6054 bra +0x56 /* 00001A00 */
label000019AC:
000019AC 7002 moveq.l D0, 0x02
000019AE B06D DADC cmp.w D0, [A5 - 0x2524]
000019B2 6624 bne +0x26 /* 000019D8 */
000019B4 7030 moveq.l D0, 0x30
000019B6 B06D DCD2 cmp.w D0, [A5 - 0x232E]
000019BA 6F1C ble +0x1E /* 000019D8 */
000019BC 426D DADC clr.w [A5 - 0x2524]
000019C0 2F0C move.l -[A7], A4
000019C2 3F3C 0FA0 move.w -[A7], 0xFA0
000019C6 700F moveq.l D0, 0x0F
000019C8 3F00 move.w -[A7], D0
000019CA 4EBA 4214 jsr [PC + 0x4214 /* 00005BE0 */]
000019CE 2F0C move.l -[A7], A4
000019D0 4EBA F06A jsr [PC - 0xF96 /* 00000A3C */]
000019D4 7E9E moveq.l D7, 0xFFFFFF9E
000019D6 584F addq.w A7, 4
label000019D8:
000019D8 4A47 tst.w D7
000019DA 6622 bne +0x24 /* 000019FE */
000019DC 4A2D D88C tst.b [A5 - 0x2774]
000019E0 671C beq +0x1E /* 000019FE */
000019E2 1B7C 0001 D7E2 move.b [A5 - 0x281E], 0x1
000019E8 558F subq.l A7, 2
000019EA 486D D7C6 pea.l [A5 - 0x283A]
000019EE 7000 moveq.l D0, 0x00
000019F0 1F00 move.b -[A7], D0
000019F2 4EBA 46BE jsr [PC + 0x46BE /* 000060B2 */]
000019F6 1B6D D7E3 D88C move.b [A5 - 0x2774], [A5 - 0x281D]
000019FC 544F addq.w A7, 2
label000019FE:
000019FE 3007 move.w D0, D7
label00001A00:
00001A00 4CEE 1080 FEF8 movem.l D7,A4, [A6 - 0x108]
00001A06 4E5E unlink A6
00001A08 4E75 rts
fn00001A0A:
00001A0A 4E56 0000 link A6, 0
00001A0E 48E7 0118 movem.l -[A7], D7,A3,A4
00001A12 598F subq.l A7, 4
00001A14 A975 syscall TickCount
00001A16 2E1F move.l D7, [A7]+
00001A18 202D D766 move.l D0, [A5 - 0x289A]
00001A1C D0BC 0000 0384 add.l D0, 0x384
00001A22 B087 cmp.l D0, D7
00001A24 6378 bls +0x7A /* 00001A9E */
00001A26 2B47 D766 move.l [A5 - 0x289A], D7
00001A2A 598F subq.l A7, 4
00001A2C 7004 moveq.l D0, 0x04
00001A2E 3F00 move.w -[A7], D0
00001A30 A9B9 syscall GetCursor
00001A32 285F movea.l A4, [A7]+
00001A34 200C move.l D0, A4
00001A36 670C beq +0xE /* 00001A44 */
00001A38 204C movea.l A0, A4
00001A3A A064 syscall MoveHHi
00001A3C 204C movea.l A0, A4
00001A3E A029 syscall HLock
00001A40 2F14 move.l -[A7], [A4]
00001A42 A851 syscall SetCursor
label00001A44:
00001A44 598F subq.l A7, 4
00001A46 3F3C 07E0 move.w -[A7], 0x7E0
00001A4A 7000 moveq.l D0, 0x00
00001A4C 2F00 move.l -[A7], D0
00001A4E 72FF moveq.l D1, 0xFFFFFFFF
00001A50 2F01 move.l -[A7], D1
00001A52 A97C syscall GetNewDialog
00001A54 265F movea.l A3, [A7]+
00001A56 200B move.l D0, A3
00001A58 6616 bne +0x18 /* 00001A70 */
00001A5A 486D D704 pea.l [A5 - 0x28FC]
00001A5E 558F subq.l A7, 2
00001A60 A9AF syscall ResError
00001A62 301F move.w D0, [A7]+
00001A64 48C0 ext.l D0
00001A66 2F00 move.l -[A7], D0
00001A68 4EBA 153C jsr [PC + 0x153C /* 00002FA6 */]
00001A6C 504F addq.w A7, 8
00001A6E 602A bra +0x2C /* 00001A9A */
label00001A70:
00001A70 2F0B move.l -[A7], A3
00001A72 4EBA EB0E jsr [PC - 0x14F2 /* 00000582 */]
00001A76 2F0B move.l -[A7], A3
00001A78 A915 syscall ShowWindow
00001A7A 2F0B move.l -[A7], A3
00001A7C A981 syscall DrawDialog
00001A7E 584F addq.w A7, 4
label00001A80:
00001A80 598F subq.l A7, 4
00001A82 A975 syscall TickCount
00001A84 202D D766 move.l D0, [A5 - 0x289A]
00001A88 D0BC 0000 0384 add.l D0, 0x384
00001A8E B09F cmp.l D0, [A7]+
00001A90 62EE bhi -0x10 /* 00001A80 */
00001A92 200C move.l D0, A4
00001A94 6704 beq +0x6 /* 00001A9A */
00001A96 2F0B move.l -[A7], A3
00001A98 A983 syscall DisposeDialog
label00001A9A:
00001A9A 204C movea.l A0, A4
00001A9C A023 syscall DisposHandle/DisposeHandle
label00001A9E:
00001A9E 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00001AA4 4E5E unlink A6
00001AA6 4E75 rts
fn00001AA8:
00001AA8 4E56 FDEC link A6, -0x0214
00001AAC 48E7 0118 movem.l -[A7], D7,A3,A4
00001AB0 47EE FDEC lea.l A3, [A6 - 0x214]
00001AB4 4247 clr.w D7
00001AB6 4EBA FD90 jsr [PC - 0x270 /* 00001848 */]
00001ABA 4A00 tst.b D0
00001ABC 6700 00D0 beq +0xD2 /* 00001B8E */
00001AC0 4878 080D push.l 0x80D
00001AC4 4EBA F154 jsr [PC - 0xEAC /* 00000C1A */]
00001AC8 2840 movea.l A4, D0
00001ACA 486E FFFC pea.l [A6 - 0x4]
00001ACE A874 syscall GetPort
00001AD0 2F0C move.l -[A7], A4
00001AD2 A873 syscall SetPort
00001AD4 2F0C move.l -[A7], A4
00001AD6 A981 syscall DrawDialog
00001AD8 2F0C move.l -[A7], A4
00001ADA 7001 moveq.l D0, 0x01
00001ADC 3F00 move.w -[A7], D0
00001ADE 486E FFF6 pea.l [A6 - 0xA]
00001AE2 486E FFF8 pea.l [A6 - 0x8]
00001AE6 486E FFEE pea.l [A6 - 0x12]
00001AEA A98D syscall GetDialogItem/GetDItem
00001AEC 7003 moveq.l D0, 0x03
00001AEE 3F00 move.w -[A7], D0
00001AF0 3F00 move.w -[A7], D0
00001AF2 A89B syscall PenSize
00001AF4 486E FFEE pea.l [A6 - 0x12]
00001AF8 70FC moveq.l D0, 0xFFFFFFFC
00001AFA 3F00 move.w -[A7], D0
00001AFC 3F00 move.w -[A7], D0
00001AFE A8A9 syscall InsetRect
00001B00 486E FFEE pea.l [A6 - 0x12]
00001B04 7010 moveq.l D0, 0x10
00001B06 3F00 move.w -[A7], D0
00001B08 3F00 move.w -[A7], D0
00001B0A A8B0 syscall FrameRoundRect
00001B0C 7001 moveq.l D0, 0x01
00001B0E 3F00 move.w -[A7], D0
00001B10 3F00 move.w -[A7], D0
00001B12 A89B syscall PenSize
00001B14 200C move.l D0, A4
00001B16 584F addq.w A7, 4
00001B18 6616 bne +0x18 /* 00001B30 */
00001B1A 486D D712 pea.l [A5 - 0x28EE]
00001B1E 558F subq.l A7, 2
00001B20 A9AF syscall ResError
00001B22 301F move.w D0, [A7]+
00001B24 48C0 ext.l D0
00001B26 2F00 move.l -[A7], D0
00001B28 4EBA 147C jsr [PC + 0x147C /* 00002FA6 */]
00001B2C 504F addq.w A7, 8
00001B2E 601C bra +0x1E /* 00001B4C */
label00001B30:
00001B30 7000 moveq.l D0, 0x00
00001B32 2F00 move.l -[A7], D0
00001B34 486E FFEC pea.l [A6 - 0x14]
00001B38 A991 syscall ModalDialog
00001B3A 7001 moveq.l D0, 0x01
00001B3C B06E FFEC cmp.w D0, [A6 - 0x14]
00001B40 66EE bne -0x10 /* 00001B30 */
00001B42 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001B46 A873 syscall SetPort
00001B48 2F0C move.l -[A7], A4
00001B4A A983 syscall DisposeDialog
label00001B4C:
00001B4C 426D DADC clr.w [A5 - 0x2524]
00001B50 4EBA F444 jsr [PC - 0xBBC /* 00000F96 */]
00001B54 4EBA F53A jsr [PC - 0xAC6 /* 00001090 */]
00001B58 3B7C 0001 DADA move.w [A5 - 0x2526], 0x1
00001B5E 4EBA F690 jsr [PC - 0x970 /* 000011F0 */]
00001B62 4EBA F1EA jsr [PC - 0xE16 /* 00000D4E */]
00001B66 3B7C 0001 DADC move.w [A5 - 0x2524], 0x1
00001B6C 4EBA F428 jsr [PC - 0xBD8 /* 00000F96 */]
00001B70 4EBA F51E jsr [PC - 0xAE2 /* 00001090 */]
00001B74 3B7C 0001 DADA move.w [A5 - 0x2526], 0x1
00001B7A 4EBA F674 jsr [PC - 0x98C /* 000011F0 */]
00001B7E 4EBA F1CE jsr [PC - 0xE32 /* 00000D4E */]
00001B82 3B7C 0001 DADC move.w [A5 - 0x2524], 0x1
00001B88 4EBA F3CA jsr [PC - 0xC36 /* 00000F54 */]
00001B8C 7E01 moveq.l D7, 0x01
label00001B8E:
00001B8E 4A47 tst.w D7
00001B90 6626 bne +0x28 /* 00001BB8 */
00001B92 200D move.l D0, A5
00001B94 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00001B98 2B40 D78E move.l [A5 - 0x2872], D0
00001B9C 422D D7AE clr.b [A5 - 0x2852]
00001BA0 426D D7B0 clr.w [A5 - 0x2850]
00001BA4 426D D7B2 clr.w [A5 - 0x284E]
00001BA8 558F subq.l A7, 2
00001BAA 486D D792 pea.l [A5 - 0x286E]
00001BAE 7000 moveq.l D0, 0x00
00001BB0 1F00 move.b -[A7], D0
00001BB2 4EBA 4516 jsr [PC + 0x4516 /* 000060CA */]
00001BB6 3E1F move.w D7, [A7]+
label00001BB8:
00001BB8 4A47 tst.w D7
00001BBA 6600 0098 bne +0x9A /* 00001C54 */
00001BBE 486E FEEC pea.l [A6 - 0x114]
00001BC2 3F3C 0FA0 move.w -[A7], 0xFA0
00001BC6 7009 moveq.l D0, 0x09
00001BC8 3F00 move.w -[A7], D0
00001BCA 4EBA 4014 jsr [PC + 0x4014 /* 00005BE0 */]
00001BCE 2F0B move.l -[A7], A3
00001BD0 3F3C 0FA0 move.w -[A7], 0xFA0
00001BD4 700A moveq.l D0, 0x0A
00001BD6 3F00 move.w -[A7], D0
00001BD8 4EBA 4006 jsr [PC + 0x4006 /* 00005BE0 */]
00001BDC 4AAD D786 tst.l [A5 - 0x287A]
00001BE0 6626 bne +0x28 /* 00001C08 */
00001BE2 7000 moveq.l D0, 0x00
00001BE4 1013 move.b D0, [A3]
00001BE6 7200 moveq.l D1, 0x00
00001BE8 122E FEEC move.b D1, [A6 - 0x114]
00001BEC D240 add.w D1, D0
00001BEE 7000 moveq.l D0, 0x00
00001BF0 102D D848 move.b D0, [A5 - 0x27B8]
00001BF4 D041 add.w D0, D1
00001BF6 D07C 000C add.w D0, 0xC
00001BFA 48C0 ext.l D0
00001BFC A11E syscall NewPtr, flags=1
00001BFE 2B48 D786 move.l [A5 - 0x287A], A0
00001C02 6604 bne +0x6 /* 00001C08 */
00001C04 3E38 0220 move.w D7, [0x00000220 /* MemErr */]
label00001C08:
00001C08 4A47 tst.w D7
00001C0A 6648 bne +0x4A /* 00001C54 */
00001C0C 2F2D D786 move.l -[A7], [A5 - 0x287A]
00001C10 2F0B move.l -[A7], A3
00001C12 486E FEEC pea.l [A6 - 0x114]
00001C16 486D D848 pea.l [A5 - 0x27B8]
00001C1A 102D D7AE move.b D0, [A5 - 0x2852]
00001C1E 4880 ext.w D0
00001C20 3F00 move.w -[A7], D0
00001C22 4EBA 45F0 jsr [PC + 0x45F0 /* 00006214 */]
00001C26 7000 moveq.l D0, 0x00
00001C28 2B40 D7D2 move.l [A5 - 0x282E], D0
00001C2C 2B6D D786 D7E4 move.l [A5 - 0x281C], [A5 - 0x287A]
00001C32 1B7C 0002 D7E2 move.b [A5 - 0x281E], 0x2
00001C38 1B7C 0004 D7E3 move.b [A5 - 0x281D], 0x4
00001C3E 1B7C 0001 D7E8 move.b [A5 - 0x2818], 0x1
00001C44 558F subq.l A7, 2
00001C46 486D D7C6 pea.l [A5 - 0x283A]
00001C4A 7000 moveq.l D0, 0x00
00001C4C 1F00 move.b -[A7], D0
00001C4E 4EBA 444A jsr [PC + 0x444A /* 0000609A */]
00001C52 3E1F move.w D7, [A7]+
label00001C54:
00001C54 4A47 tst.w D7
00001C56 6606 bne +0x8 /* 00001C5E */
00001C58 4EBA 0102 jsr [PC + 0x102 /* 00001D5C */]
00001C5C 601C bra +0x1E /* 00001C7A */
label00001C5E:
00001C5E 0C47 0001 cmpi.w D7, 0x1
00001C62 6716 beq +0x18 /* 00001C7A */
00001C64 2F0B move.l -[A7], A3
00001C66 3F3C 0FA0 move.w -[A7], 0xFA0
00001C6A 700E moveq.l D0, 0x0E
00001C6C 3F00 move.w -[A7], D0
00001C6E 4EBA 3F70 jsr [PC + 0x3F70 /* 00005BE0 */]
00001C72 2F0B move.l -[A7], A3
00001C74 4EBA EDC6 jsr [PC - 0x123A /* 00000A3C */]
00001C78 584F addq.w A7, 4
label00001C7A:
00001C7A 4CEE 1880 FDE0 movem.l D7,A3,A4, [A6 - 0x220]
00001C80 4E5E unlink A6
00001C82 4E75 rts
fn00001C84:
00001C84 4E56 FFC0 link A6, -0x0040
00001C88 48E7 0108 movem.l -[A7], D7,A4
00001C8C 286E 000C movea.l A4, [A6 + 0xC]
00001C90 200C move.l D0, A4
00001C92 6604 bne +0x6 /* 00001C98 */
00001C94 286D D78A movea.l A4, [A5 - 0x2876]
label00001C98:
00001C98 4EBA FBAE jsr [PC - 0x452 /* 00001848 */]
00001C9C 4A00 tst.b D0
00001C9E 675E beq +0x60 /* 00001CFE */
00001CA0 302E 000A move.w D0, [A6 + 0xA]
00001CA4 48C0 ext.l D0
00001CA6 2D40 FFDE move.l [A6 - 0x22], D0
00001CAA 422E FFE9 clr.b [A6 - 0x17]
00001CAE 2D6D D77E FFEA move.l [A6 - 0x16], [A5 - 0x2882]
00001CB4 2D4C FFF0 move.l [A6 - 0x10], A4
00001CB8 3D6E 0012 FFEE move.w [A6 - 0x12], [A6 + 0x12]
00001CBE 41EE FFC0 lea.l A0, [A6 - 0x40]
00001CC2 2D48 FFF4 move.l [A6 - 0xC], A0
00001CC6 2D6D D78A FFC2 move.l [A6 - 0x3E], [A5 - 0x2876]
00001CCC 3D7C 0242 FFC0 move.w [A6 - 0x40], 0x242
00001CD2 1D7C 0001 FFF8 move.b [A6 - 0x8], 0x1
00001CD8 1D7C 0001 FFF9 move.b [A6 - 0x7], 0x1
00001CDE 1D7C 000E FFFB move.b [A6 - 0x5], 0xE
00001CE4 422E FFFA clr.b [A6 - 0x6]
00001CE8 558F subq.l A7, 2
00001CEA 486E FFCC pea.l [A6 - 0x34]
00001CEE 7000 moveq.l D0, 0x00
00001CF0 1F00 move.b -[A7], D0
00001CF2 4EBA 43E2 jsr [PC + 0x43E2 /* 000060D6 */]
00001CF6 3E1F move.w D7, [A7]+
00001CF8 6604 bne +0x6 /* 00001CFE */
00001CFA 7001 moveq.l D0, 0x01
00001CFC 6002 bra +0x4 /* 00001D00 */
label00001CFE:
00001CFE 7000 moveq.l D0, 0x00
label00001D00:
00001D00 4CEE 1080 FFB8 movem.l D7,A4, [A6 - 0x48]
00001D06 4E5E unlink A6
00001D08 4E75 rts
fn00001D0A:
00001D0A 4E56 0000 link A6, 0
00001D0E 2F0C move.l -[A7], A4
00001D10 286E 0008 movea.l A4, [A6 + 0x8]
00001D14 200C move.l D0, A4
00001D16 6604 bne +0x6 /* 00001D1C */
00001D18 286D D78A movea.l A4, [A5 - 0x2876]
label00001D1C:
00001D1C 7000 moveq.l D0, 0x00
00001D1E 2B40 D820 move.l [A5 - 0x27E0], D0
00001D22 1B7C 0010 D831 move.b [A5 - 0x27CF], 0x10
00001D28 41ED D772 lea.l A0, [A5 - 0x288E]
00001D2C 2B48 D83C move.l [A5 - 0x27C4], A0
00001D30 2B4C D774 move.l [A5 - 0x288C], A4
00001D34 3B6E 000E D772 move.w [A5 - 0x288E], [A6 + 0xE]
00001D3A 1B7C 0001 D840 move.b [A5 - 0x27C0], 0x1
00001D40 1B7C 0001 D841 move.b [A5 - 0x27BF], 0x1
00001D46 558F subq.l A7, 2
00001D48 486D D814 pea.l [A5 - 0x27EC]
00001D4C 7001 moveq.l D0, 0x01
00001D4E 1F00 move.b -[A7], D0
00001D50 4EBA 4390 jsr [PC + 0x4390 /* 000060E2 */]
00001D54 286E FFFC movea.l A4, [A6 - 0x4]
00001D58 4E5E unlink A6
00001D5A 4E75 rts
fn00001D5C:
00001D5C 4E56 0000 link A6, 0
00001D60 2B6D D78A D7B6 move.l [A5 - 0x284A], [A5 - 0x2876]
00001D66 3B7C 0242 D7B4 move.w [A5 - 0x284C], 0x242
00001D6C 1B7C 0001 D7BE move.b [A5 - 0x2842], 0x1
00001D72 41ED 011A lea.l A0, [A5 + 0x11A /* export_31 */]
00001D76 2B48 D79E move.l [A5 - 0x2862], A0
00001D7A 558F subq.l A7, 2
00001D7C 486D D792 pea.l [A5 - 0x286E]
00001D80 7001 moveq.l D0, 0x01
00001D82 1F00 move.b -[A7], D0
00001D84 4EBA 4356 jsr [PC + 0x4356 /* 000060DC */]
00001D88 4E5E unlink A6
00001D8A 4E75 rts
export_38:
fn00001D8C:
00001D8C 4E56 FF00 link A6, -0x0100
00001D90 2F0C move.l -[A7], A4
00001D92 49EE FF00 lea.l A4, [A6 - 0x100]
00001D96 2F0C move.l -[A7], A4
00001D98 3F3C 0FA0 move.w -[A7], 0xFA0
00001D9C 3F2E 000A move.w -[A7], [A6 + 0xA]
00001DA0 4EBA 3E3E jsr [PC + 0x3E3E /* 00005BE0 */]
00001DA4 2F0C move.l -[A7], A4
00001DA6 4EBA EC94 jsr [PC - 0x136C /* 00000A3C */]
00001DAA 4EBA F350 jsr [PC - 0xCB0 /* 000010FC */]
00001DAE A9F4 syscall ExitToShell
00001DB0 286E FEFC movea.l A4, [A6 - 0x104]
00001DB4 4E5E unlink A6
00001DB6 4E75 rts
fn00001DB8:
00001DB8 4E56 0000 link A6, 0
00001DBC 206D D894 movea.l A0, [A5 - 0x276C]
00001DC0 4868 014C pea.l [A0 + 0x14C]
00001DC4 486D D9DA pea.l [A5 - 0x2626]
00001DC8 4EBA E776 jsr [PC - 0x188A /* 00000540 */]
00001DCC 206D D894 movea.l A0, [A5 - 0x276C]
00001DD0 4868 024C pea.l [A0 + 0x24C]
00001DD4 486D D9CE pea.l [A5 - 0x2632]
00001DD8 4EBA E766 jsr [PC - 0x189A /* 00000540 */]
00001DDC 206D D894 movea.l A0, [A5 - 0x276C]
00001DE0 316D DADA 0258 move.w [A0 + 0x258], [A5 - 0x2526]
00001DE6 206D D894 movea.l A0, [A5 - 0x276C]
00001DEA 41E8 0026 lea.l A0, [A0 + 0x26]
00001DEE 43ED D8A8 lea.l A1, [A5 - 0x2758]
00001DF2 7048 moveq.l D0, 0x48
label00001DF4:
00001DF4 20D9 move.l [A0]+, [A1]+
00001DF6 51C8 FFFC dbf D0, -0x6 /* 00001DF4 */
00001DFA 30D9 move.w [A0]+, [A1]+
00001DFC 4E5E unlink A6
00001DFE 4E75 rts
fn00001E00:
00001E00 4E56 0000 link A6, 0
00001E04 486D D9DA pea.l [A5 - 0x2626]
00001E08 206D D894 movea.l A0, [A5 - 0x276C]
00001E0C 4868 014C pea.l [A0 + 0x14C]
00001E10 4EBA E72E jsr [PC - 0x18D2 /* 00000540 */]
00001E14 486D D9CE pea.l [A5 - 0x2632]
00001E18 206D D894 movea.l A0, [A5 - 0x276C]
00001E1C 4868 024C pea.l [A0 + 0x24C]
00001E20 4EBA E71E jsr [PC - 0x18E2 /* 00000540 */]
00001E24 206D D894 movea.l A0, [A5 - 0x276C]
00001E28 3B68 0258 DADA move.w [A5 - 0x2526], [A0 + 0x258]
00001E2E 43ED D8A8 lea.l A1, [A5 - 0x2758]
00001E32 41E8 0026 lea.l A0, [A0 + 0x26]
00001E36 7048 moveq.l D0, 0x48
label00001E38:
00001E38 22D8 move.l [A1]+, [A0]+
00001E3A 51C8 FFFC dbf D0, -0x6 /* 00001E38 */
00001E3E 32D8 move.w [A1]+, [A0]+
00001E40 4E5E unlink A6
00001E42 4E75 rts
fn00001E44:
00001E44 4E56 FF00 link A6, -0x0100
00001E48 48E7 0018 movem.l -[A7], A3,A4
00001E4C 47EE FF00 lea.l A3, [A6 - 0x100]
00001E50 598F subq.l A7, 4
00001E52 3F3C 03EC move.w -[A7], 0x3EC
00001E56 A9BF syscall GetRMenu
00001E58 285F movea.l A4, [A7]+
00001E5A 2F0B move.l -[A7], A3
00001E5C 3F3C 03EC move.w -[A7], 0x3EC
00001E60 302D DADC move.w D0, [A5 - 0x2524]
00001E64 5840 addq.w D0, 4
00001E66 3F00 move.w -[A7], D0
00001E68 4EBA 3D76 jsr [PC + 0x3D76 /* 00005BE0 */]
00001E6C 2F0C move.l -[A7], A4
00001E6E 7007 moveq.l D0, 0x07
00001E70 3F00 move.w -[A7], D0
00001E72 2F0B move.l -[A7], A3
00001E74 A947 syscall SetMenuItemText/SetItem
00001E76 4EBA F058 jsr [PC - 0xFA8 /* 00000ED0 */]
00001E7A 2F0C move.l -[A7], A4
00001E7C 7006 moveq.l D0, 0x06
00001E7E 3F00 move.w -[A7], D0
00001E80 A939 syscall EnableItem
00001E82 2F0C move.l -[A7], A4
00001E84 7006 moveq.l D0, 0x06
00001E86 3F00 move.w -[A7], D0
00001E88 1F2D D9CC move.b -[A7], [A5 - 0x2634]
00001E8C A945 syscall CheckItem
00001E8E 2F0C move.l -[A7], A4
00001E90 7006 moveq.l D0, 0x06
00001E92 3F00 move.w -[A7], D0
00001E94 A93A syscall DisableItem
00001E96 4CEE 1800 FEF8 movem.l A3,A4, [A6 - 0x108]
00001E9C 4E5E unlink A6
00001E9E 4E75 rts
fn00001EA0:
00001EA0 4E56 FEB0 link A6, -0x0150
00001EA4 48E7 0108 movem.l -[A7], D7,A4
00001EA8 49EE FF00 lea.l A4, [A6 - 0x100]
00001EAC 3E2E 000A move.w D7, [A6 + 0xA]
00001EB0 0C47 FFD4 cmpi.w D7, 0xFFD4
00001EB4 6710 beq +0x12 /* 00001EC6 */
00001EB6 7001 moveq.l D0, 0x01
00001EB8 2F00 move.l -[A7], D0
00001EBA 48C7 ext.l D7
00001EBC 2F07 move.l -[A7], D7
00001EBE 4EBA 1172 jsr [PC + 0x1172 /* 00003032 */]
00001EC2 504F addq.w A7, 8
00001EC4 602C bra +0x2E /* 00001EF2 */
label00001EC6:
00001EC6 2F0C move.l -[A7], A4
00001EC8 3F3C 0FA0 move.w -[A7], 0xFA0
00001ECC 7010 moveq.l D0, 0x10
00001ECE 3F00 move.w -[A7], D0
00001ED0 4EBA 3D0E jsr [PC + 0x3D0E /* 00005BE0 */]
00001ED4 7000 moveq.l D0, 0x00
00001ED6 2D40 FEBC move.l [A6 - 0x144], D0
00001EDA 2D40 FEC2 move.l [A6 - 0x13E], D0
00001EDE 3D6D D71E FEC6 move.w [A6 - 0x13A], [A5 - 0x28E2]
00001EE4 41EE FEB0 lea.l A0, [A6 - 0x150]
00001EE8 A017 syscall Eject
00001EEA 2F0C move.l -[A7], A4
00001EEC 4EBA EB4E jsr [PC - 0x14B2 /* 00000A3C */]
00001EF0 584F addq.w A7, 4
label00001EF2:
00001EF2 4CEE 1080 FEA8 movem.l D7,A4, [A6 - 0x158]
00001EF8 4E5E unlink A6
00001EFA 4E75 rts
export_39:
00001EFC 4E56 FFD2 link A6, -0x002E
00001F00 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001F04 206E 000E movea.l A0, [A6 + 0xE]
00001F08 43EE FFEC lea.l A1, [A6 - 0x14]
00001F0C 22D8 move.l [A1]+, [A0]+
00001F0E 2290 move.l [A1], [A0]
00001F10 206E 0012 movea.l A0, [A6 + 0x12]
00001F14 43EE FFF4 lea.l A1, [A6 - 0xC]
00001F18 22D8 move.l [A1]+, [A0]+
00001F1A 2290 move.l [A1], [A0]
00001F1C 206E 0016 movea.l A0, [A6 + 0x16]
00001F20 3D7C 0001 FFD6 move.w [A6 - 0x2A], 0x1
00001F26 3028 0004 move.w D0, [A0 + 0x4]
00001F2A 6A18 bpl +0x1A /* 00001F44 */
00001F2C 0C40 BFFF cmpi.w D0, 0xBFFF
00001F30 6308 bls +0xA /* 00001F3A */
00001F32 2050 movea.l A0, [A0]
00001F34 2050 movea.l A0, [A0]
00001F36 3028 0004 move.w D0, [A0 + 0x4]
label00001F3A:
00001F3A 3D68 0020 FFD6 move.w [A6 - 0x2A], [A0 + 0x20]
00001F40 0240 3FFF andi.w D0, 0x3FFF
label00001F44:
00001F44 2658 movea.l A3, [A0]+
00001F46 3840 movea.w A4, D0
00001F48 5448 addq.w A0, 2
00001F4A 2D58 FFD8 move.l [A6 - 0x28], [A0]+
00001F4E 2D58 FFDC move.l [A6 - 0x24], [A0]+
00001F52 2D60 FFE8 move.l [A6 - 0x18], -[A0]
00001F56 2D60 FFE4 move.l [A6 - 0x1C], -[A0]
00001F5A 2055 movea.l A0, [A5]
00001F5C 2050 movea.l A0, [A0]
00001F5E 3028 0006 move.w D0, [A0 + 0x6]
00001F62 6A0C bpl +0xE /* 00001F70 */
00001F64 2068 0002 movea.l A0, [A0 + 0x2]
00001F68 2050 movea.l A0, [A0]
00001F6A B7D0 cmpa.l A3, [A0]
00001F6C 661E bne +0x20 /* 00001F8C */
00001F6E 6006 bra +0x8 /* 00001F76 */
label00001F70:
00001F70 B7E8 0002 cmpa.l A3, [A0 + 0x2]
00001F74 6616 bne +0x18 /* 00001F8C */
label00001F76:
00001F76 2055 movea.l A0, [A5]
00001F78 2050 movea.l A0, [A0]
00001F7A 2068 001C movea.l A0, [A0 + 0x1C]
00001F7E 2050 movea.l A0, [A0]
00001F80 2D68 0002 FFE4 move.l [A6 - 0x1C], [A0 + 0x2]
00001F86 2D68 0006 FFE8 move.l [A6 - 0x18], [A0 + 0x6]
label00001F8C:
00001F8C 202E FFE4 move.l D0, [A6 - 0x1C]
00001F90 B06E FFF2 cmp.w D0, [A6 - 0xE]
00001F94 6C00 0458 bge +0x45A /* 000023EE */
00001F98 4840 swap.w D0
00001F9A B06E FFF0 cmp.w D0, [A6 - 0x10]
00001F9E 6C00 044E bge +0x450 /* 000023EE */
00001FA2 202E FFE8 move.l D0, [A6 - 0x18]
00001FA6 B06E FFEE cmp.w D0, [A6 - 0x12]
00001FAA 6F00 0442 ble +0x444 /* 000023EE */
00001FAE 4840 swap.w D0
00001FB0 B06E FFEC cmp.w D0, [A6 - 0x14]
00001FB4 6F00 0438 ble +0x43A /* 000023EE */
00001FB8 206E 001A movea.l A0, [A6 + 0x1A]
00001FBC 3028 0004 move.w D0, [A0 + 0x4]
00001FC0 0C40 BFFF cmpi.w D0, 0xBFFF
00001FC4 6308 bls +0xA /* 00001FCE */
00001FC6 2050 movea.l A0, [A0]
00001FC8 2050 movea.l A0, [A0]
00001FCA 3028 0004 move.w D0, [A0 + 0x4]
label00001FCE:
00001FCE 0240 3FFF andi.w D0, 0x3FFF
00001FD2 2258 movea.l A1, [A0]+
00001FD4 3440 movea.w A2, D0
00001FD6 5448 addq.w A0, 2
00001FD8 2010 move.l D0, [A0]
00001FDA 6712 beq +0x14 /* 00001FEE */
00001FDC 916E FFF6 sub.w [A6 - 0xA], D0
00001FE0 916E FFFA sub.w [A6 - 0x6], D0
00001FE4 4840 swap.w D0
00001FE6 916E FFF4 sub.w [A6 - 0xC], D0
00001FEA 916E FFF8 sub.w [A6 - 0x8], D0
label00001FEE:
00001FEE 2D6E FFF4 FFE0 move.l [A6 - 0x20], [A6 - 0xC]
00001FF4 202E FFE4 move.l D0, [A6 - 0x1C]
00001FF8 906E FFEE sub.w D0, [A6 - 0x12]
00001FFC 6F0A ble +0xC /* 00002008 */
00001FFE D16E FFE2 add.w [A6 - 0x1E], D0
00002002 3D6E FFE6 FFEE move.w [A6 - 0x12], [A6 - 0x1A]
label00002008:
00002008 4840 swap.w D0
0000200A 906E FFEC sub.w D0, [A6 - 0x14]
0000200E 6F0A ble +0xC /* 0000201A */
00002010 D16E FFE0 add.w [A6 - 0x20], D0
00002014 3D6E FFE4 FFEC move.w [A6 - 0x14], [A6 - 0x1C]
label0000201A:
0000201A 202E FFE8 move.l D0, [A6 - 0x18]
0000201E B06E FFF2 cmp.w D0, [A6 - 0xE]
00002022 6C04 bge +0x6 /* 00002028 */
00002024 3D40 FFF2 move.w [A6 - 0xE], D0
label00002028:
00002028 4840 swap.w D0
0000202A B06E FFF0 cmp.w D0, [A6 - 0x10]
0000202E 6C04 bge +0x6 /* 00002034 */
00002030 3D40 FFF0 move.w [A6 - 0x10], D0
label00002034:
00002034 362E FFF0 move.w D3, [A6 - 0x10]
00002038 966E FFEC sub.w D3, [A6 - 0x14]
0000203C 6F00 03B0 ble +0x3B2 /* 000023EE */
00002040 5343 subq.w D3, 1
00002042 202E FFD8 move.l D0, [A6 - 0x28]
00002046 916E FFEE sub.w [A6 - 0x12], D0
0000204A 916E FFF2 sub.w [A6 - 0xE], D0
0000204E 4840 swap.w D0
00002050 916E FFEC sub.w [A6 - 0x14], D0
00002054 916E FFF0 sub.w [A6 - 0x10], D0
00002058 302E FFD6 move.w D0, [A6 - 0x2A]
0000205C 0C40 0001 cmpi.w D0, 0x1
00002060 671E beq +0x20 /* 00002080 */
00002062 322E FFE2 move.w D1, [A6 - 0x1E]
00002066 C2C0 mulu.w D1, D0
00002068 3D41 FFE2 move.w [A6 - 0x1E], D1
0000206C 322E FFEE move.w D1, [A6 - 0x12]
00002070 C2C0 mulu.w D1, D0
00002072 3D41 FFEE move.w [A6 - 0x12], D1
00002076 322E FFF2 move.w D1, [A6 - 0xE]
0000207A C2C0 mulu.w D1, D0
0000207C 3D41 FFF2 move.w [A6 - 0xE], D1
label00002080:
00002080 302E FFE0 move.w D0, [A6 - 0x20]
00002084 320A move.w D1, A2
00002086 C0C1 mulu.w D0, D1
00002088 D3C0 add.l A1, D0
0000208A 302E FFE2 move.w D0, [A6 - 0x1E]
0000208E E848 lsr D0.w, 4
00002090 E348 lsl D0.w, 1
00002092 D2C0 add.w A1, D0
00002094 302E FFEC move.w D0, [A6 - 0x14]
00002098 320C move.w D1, A4
0000209A C0C1 mulu.w D0, D1
0000209C D7C0 add.l A3, D0
0000209E 302E FFEE move.w D0, [A6 - 0x12]
000020A2 E840 asr D0.w, 4
000020A4 E340 asl D0.w, 1
000020A6 D6C0 add.w A3, D0
000020A8 4843 swap.w D3
000020AA 426E FFFE clr.w [A6 - 0x2]
000020AE 303C 000F move.w D0, 0xF
000020B2 362E FFEE move.w D3, [A6 - 0x12]
000020B6 C640 and.w D3, D0
000020B8 C06E FFE2 and.w D0, [A6 - 0x1E]
000020BC 9640 sub.w D3, D0
000020BE 6A0A bpl +0xC /* 000020CA */
000020C0 0643 0010 addi.w D3, 0x10
000020C4 536E FFFE subq.w [A6 - 0x2], 1
000020C8 554A subq.w A2, 2
label000020CA:
000020CA 3A2E FFEE move.w D5, [A6 - 0x12]
000020CE 0245 000F andi.w D5, 0xF
000020D2 E34D lsl D5.w, 1
000020D4 41FA 0326 lea.l A0, [PC + 0x326 /* 000023FC, value 0x8000, cstring "" */]
000020D8 3A30 5000 move.w D5, [A0 + D5.w]
000020DC 4645 not.w D5
000020DE 4845 swap.w D5
000020E0 3A3C FFFF move.w D5, 0xFFFF
000020E4 7C00 moveq.l D6, 0x00
000020E6 3C2E FFF2 move.w D6, [A6 - 0xE]
000020EA 302E FFEE move.w D0, [A6 - 0x12]
000020EE 0240 FFF0 andi.w D0, 0xFFF0
000020F2 9C40 sub.w D6, D0
000020F4 5346 subq.w D6, 1
000020F6 0806 0004 btst.b D6, 0x4
000020FA 6706 beq +0x8 /* 00002102 */
000020FC 4846 swap.w D6
000020FE 5346 subq.w D6, 1
00002100 4846 swap.w D6
label00002102:
00002102 0246 000F andi.w D6, 0xF
00002106 E34E lsl D6.w, 1
00002108 41FA 02F4 lea.l A0, [PC + 0x2F4 /* 000023FE, value 0x8000C000 */]
0000210C 3C30 6000 move.w D6, [A0 + D6.w]
00002110 4A86 tst.l D6
00002112 6B02 bmi +0x4 /* 00002116 */
00002114 4846 swap.w D6
label00002116:
00002116 302E FFEE move.w D0, [A6 - 0x12]
0000211A 0240 FFF0 andi.w D0, 0xFFF0
0000211E 3E2E FFF2 move.w D7, [A6 - 0xE]
00002122 0647 001F addi.w D7, 0x1F
00002126 9E40 sub.w D7, D0
00002128 EA4F lsr D7.w, 5
0000212A 5347 subq.w D7, 1
0000212C 6602 bne +0x4 /* 00002130 */
0000212E CA86 and.l D5, D6
label00002130:
00002130 5347 subq.w D7, 1
00002132 3403 move.w D2, D3
00002134 E34A lsl D2.w, 1
00002136 41FA 02C4 lea.l A0, [PC + 0x2C4 /* 000023FC, value 0x8000, cstring "" */]
0000213A 3430 2000 move.w D2, [A0 + D2.w]
0000213E 4642 not.w D2
00002140 4842 swap.w D2
00002142 343C FFFF move.w D2, 0xFFFF
00002146 302E 000C move.w D0, [A6 + 0xC]
0000214A 0240 0003 andi.w D0, 0x3
0000214E D040 add.w D0, D0
00002150 3D40 FFFC move.w [A6 - 0x4], D0
00002154 660E bne +0x10 /* 00002164 */
00002156 4A6E FFFE tst.w [A6 - 0x2]
0000215A 6608 bne +0xA /* 00002164 */
0000215C 0C47 0003 cmpi.w D7, 0x3
00002160 6F00 015E ble +0x160 /* 000022C0 */
label00002164:
00002164 3007 move.w D0, D7
00002166 5440 addq.w D0, 2
00002168 E548 lsl D0.w, 2
0000216A 94C0 sub.w A2, D0
0000216C 98C0 sub.w A4, D0
0000216E 4A6E FFFC tst.w [A6 - 0x4]
00002172 6634 bne +0x36 /* 000021A8 */
00002174 4A43 tst.w D3
00002176 6630 bne +0x32 /* 000021A8 */
00002178 4843 swap.w D3
label0000217A:
0000217A 2219 move.l D1, [A1]+
0000217C 2013 move.l D0, [A3]
0000217E B181 xor.l D1, D0
00002180 C285 and.l D1, D5
00002182 B39B xor.l [A3]+, D1
00002184 3207 move.w D1, D7
00002186 670A beq +0xC /* 00002192 */
00002188 6B12 bmi +0x14 /* 0000219C */
0000218A 5341 subq.w D1, 1
label0000218C:
0000218C 26D9 move.l [A3]+, [A1]+
0000218E 51C9 FFFC dbf D1, -0x6 /* 0000218C */
label00002192:
00002192 2219 move.l D1, [A1]+
00002194 2013 move.l D0, [A3]
00002196 B181 xor.l D1, D0
00002198 C286 and.l D1, D6
0000219A B39B xor.l [A3]+, D1
label0000219C:
0000219C D2CA add.w A1, A2
0000219E D6CC add.w A3, A4
000021A0 51CB FFD8 dbf D3, -0x2A /* 0000217A */
000021A4 6000 0248 bra +0x24A /* 000023EE */
label000021A8:
000021A8 4843 swap.w D3
000021AA 322E FFFC move.w D1, [A6 - 0x4]
000021AE 323B 1026 move.w D1, [PC + D1.w + 0x26]
000021B2 41FB 1022 lea.l A0, [PC + D1.w + 0x22]
000021B6 3F07 move.w -[A7], D7
label000021B8:
000021B8 4843 swap.w D3
000021BA 7800 moveq.l D4, 0x00
000021BC 4A6E FFFE tst.w [A6 - 0x2]
000021C0 6704 beq +0x6 /* 000021C6 */
000021C2 3819 move.w D4, [A1]+
000021C4 E6BC ror D4, D3
label000021C6:
000021C6 2219 move.l D1, [A1]+
000021C8 E6B9 ror D1, D3
000021CA 2001 move.l D0, D1
000021CC B981 xor.l D1, D4
000021CE C282 and.l D1, D2
000021D0 B981 xor.l D1, D4
000021D2 2800 move.l D4, D0
000021D4 4ED0 jmp [A0]
000021D6 00A4 0008 003C ori.l -[A4], 0x8003C
000021DC 006E C285 839B ori.w [A6 - 0x7C65], 0xC285
000021E2 3E17 move.w D7, [A7]
000021E4 671A beq +0x1C /* 00002200 */
000021E6 6B00 00C8 bmi +0xCA /* 000022B0 */
000021EA 5347 subq.w D7, 1
label000021EC:
000021EC 2219 move.l D1, [A1]+
000021EE E6B9 ror D1, D3
000021F0 2001 move.l D0, D1
000021F2 B981 xor.l D1, D4
000021F4 C282 and.l D1, D2
000021F6 B981 xor.l D1, D4
000021F8 2800 move.l D4, D0
000021FA 839B or.l [A3]+, D1
000021FC 51CF FFEE dbf D7, -0x14 /* 000021EC */
label00002200:
00002200 2219 move.l D1, [A1]+
00002202 E6B9 ror D1, D3
00002204 B981 xor.l D1, D4
00002206 C282 and.l D1, D2
00002208 B981 xor.l D1, D4
0000220A C286 and.l D1, D6
0000220C 839B or.l [A3]+, D1
0000220E 6000 00A0 bra +0xA2 /* 000022B0 */
00002212 C285 and.l D1, D5
00002214 B39B xor.l [A3]+, D1
00002216 3E17 move.w D7, [A7]
00002218 671A beq +0x1C /* 00002234 */
0000221A 6B00 0094 bmi +0x96 /* 000022B0 */
0000221E 5347 subq.w D7, 1
label00002220:
00002220 2219 move.l D1, [A1]+
00002222 E6B9 ror D1, D3
00002224 2001 move.l D0, D1
00002226 B981 xor.l D1, D4
00002228 C282 and.l D1, D2
0000222A B981 xor.l D1, D4
0000222C 2800 move.l D4, D0
0000222E B39B xor.l [A3]+, D1
00002230 51CF FFEE dbf D7, -0x14 /* 00002220 */
label00002234:
00002234 2219 move.l D1, [A1]+
00002236 E6B9 ror D1, D3
00002238 B981 xor.l D1, D4
0000223A C282 and.l D1, D2
0000223C B981 xor.l D1, D4
0000223E C286 and.l D1, D6
00002240 B39B xor.l [A3]+, D1
00002242 606C bra +0x6E /* 000022B0 */
00002244 C285 and.l D1, D5
00002246 4681 not.l D1
00002248 C39B and.l [A3]+, D1
0000224A 3E17 move.w D7, [A7]
0000224C 671A beq +0x1C /* 00002268 */
0000224E 6B60 bmi +0x62 /* 000022B0 */
00002250 5347 subq.w D7, 1
label00002252:
00002252 2219 move.l D1, [A1]+
00002254 E6B9 ror D1, D3
00002256 2001 move.l D0, D1
00002258 B981 xor.l D1, D4
0000225A C282 and.l D1, D2
0000225C B981 xor.l D1, D4
0000225E 2800 move.l D4, D0
00002260 4681 not.l D1
00002262 C39B and.l [A3]+, D1
00002264 51CF FFEC dbf D7, -0x16 /* 00002252 */
label00002268:
00002268 2219 move.l D1, [A1]+
0000226A E6B9 ror D1, D3
0000226C B981 xor.l D1, D4
0000226E C282 and.l D1, D2
00002270 B981 xor.l D1, D4
00002272 C286 and.l D1, D6
00002274 4681 not.l D1
00002276 C39B and.l [A3]+, D1
00002278 6036 bra +0x38 /* 000022B0 */
0000227A 2013 move.l D0, [A3]
0000227C B181 xor.l D1, D0
0000227E C285 and.l D1, D5
00002280 B39B xor.l [A3]+, D1
00002282 3E17 move.w D7, [A7]
00002284 6718 beq +0x1A /* 0000229E */
00002286 6B28 bmi +0x2A /* 000022B0 */
00002288 5347 subq.w D7, 1
label0000228A:
0000228A 2219 move.l D1, [A1]+
0000228C E6B9 ror D1, D3
0000228E 2001 move.l D0, D1
00002290 B981 xor.l D1, D4
00002292 C282 and.l D1, D2
00002294 B981 xor.l D1, D4
00002296 2800 move.l D4, D0
00002298 26C1 move.l [A3]+, D1
0000229A 51CF FFEE dbf D7, -0x14 /* 0000228A */
label0000229E:
0000229E 2219 move.l D1, [A1]+
000022A0 E6B9 ror D1, D3
000022A2 B981 xor.l D1, D4
000022A4 C282 and.l D1, D2
000022A6 B981 xor.l D1, D4
000022A8 2013 move.l D0, [A3]
000022AA B181 xor.l D1, D0
000022AC C286 and.l D1, D6
000022AE B39B xor.l [A3]+, D1
label000022B0:
000022B0 D2CA add.w A1, A2
000022B2 D6CC add.w A3, A4
000022B4 4843 swap.w D3
000022B6 51CB FF00 dbf D3, -0x102 /* 000021B8 */
000022BA 544F addq.w A7, 2
000022BC 6000 0130 bra +0x132 /* 000023EE */
label000022C0:
000022C0 4843 swap.w D3
000022C2 4A47 tst.w D7
000022C4 6A1C bpl +0x1E /* 000022E2 */
000022C6 3803 move.w D4, D3
000022C8 4843 swap.w D3
label000022CA:
000022CA 2211 move.l D1, [A1]
000022CC E6B9 ror D1, D3
000022CE 2013 move.l D0, [A3]
000022D0 B181 xor.l D1, D0
000022D2 C285 and.l D1, D5
000022D4 B393 xor.l [A3], D1
000022D6 D2CA add.w A1, A2
000022D8 D6CC add.w A3, A4
000022DA 51CC FFEE dbf D4, -0x14 /* 000022CA */
000022DE 6000 010E bra +0x110 /* 000023EE */
label000022E2:
000022E2 6630 bne +0x32 /* 00002314 */
000022E4 3803 move.w D4, D3
000022E6 4843 swap.w D3
000022E8 514C subq.w A4, 8
label000022EA:
000022EA 4CD1 0082 movem.l D1,D7, [A1]
000022EE E6B9 ror D1, D3
000022F0 E6BF ror D7, D3
000022F2 B387 xor.l D7, D1
000022F4 CE82 and.l D7, D2
000022F6 B387 xor.l D7, D1
000022F8 2013 move.l D0, [A3]
000022FA B181 xor.l D1, D0
000022FC C285 and.l D1, D5
000022FE B39B xor.l [A3]+, D1
00002300 2013 move.l D0, [A3]
00002302 B187 xor.l D7, D0
00002304 CE86 and.l D7, D6
00002306 BF9B xor.l [A3]+, D7
00002308 D2CA add.w A1, A2
0000230A D6CC add.w A3, A4
0000230C 51CC FFDC dbf D4, -0x26 /* 000022EA */
00002310 6000 00DC bra +0xDE /* 000023EE */
label00002314:
00002314 5347 subq.w D7, 1
00002316 663C bne +0x3E /* 00002354 */
label00002318:
00002318 4CD1 0092 movem.l D1,D4,D7, [A1]
0000231C 4843 swap.w D3
0000231E E6B9 ror D1, D3
00002320 E6BC ror D4, D3
00002322 E6BF ror D7, D3
00002324 B987 xor.l D7, D4
00002326 CE82 and.l D7, D2
00002328 B987 xor.l D7, D4
0000232A B384 xor.l D4, D1
0000232C C882 and.l D4, D2
0000232E B384 xor.l D4, D1
00002330 2013 move.l D0, [A3]
00002332 B181 xor.l D1, D0
00002334 C285 and.l D1, D5
00002336 B181 xor.l D1, D0
00002338 202B 0008 move.l D0, [A3 + 0x8]
0000233C B187 xor.l D7, D0
0000233E CE86 and.l D7, D6
00002340 B187 xor.l D7, D0
00002342 48D3 0092 movem.l [A3], D1,D4,D7
00002346 D2CA add.w A1, A2
00002348 D6CC add.w A3, A4
0000234A 4843 swap.w D3
0000234C 51CB FFCA dbf D3, -0x38 /* 00002318 */
00002350 6000 009C bra +0x9E /* 000023EE */
label00002354:
00002354 2F05 move.l -[A7], D5
00002356 5347 subq.w D7, 1
00002358 6644 bne +0x46 /* 0000239E */
label0000235A:
0000235A 4CD1 00B2 movem.l D1,D4,D5,D7, [A1]
0000235E 4843 swap.w D3
00002360 E6B9 ror D1, D3
00002362 E6BC ror D4, D3
00002364 E6BD ror D5, D3
00002366 E6BF ror D7, D3
00002368 BB87 xor.l D7, D5
0000236A CE82 and.l D7, D2
0000236C BB87 xor.l D7, D5
0000236E B985 xor.l D5, D4
00002370 CA82 and.l D5, D2
00002372 B985 xor.l D5, D4
00002374 B384 xor.l D4, D1
00002376 C882 and.l D4, D2
00002378 B384 xor.l D4, D1
0000237A 2013 move.l D0, [A3]
0000237C B181 xor.l D1, D0
0000237E C297 and.l D1, [A7]
00002380 B181 xor.l D1, D0
00002382 202B 000C move.l D0, [A3 + 0xC]
00002386 B187 xor.l D7, D0
00002388 CE86 and.l D7, D6
0000238A B187 xor.l D7, D0
0000238C 48D3 00B2 movem.l [A3], D1,D4,D5,D7
00002390 D2CA add.w A1, A2
00002392 D6CC add.w A3, A4
00002394 4843 swap.w D3
00002396 51CB FFC2 dbf D3, -0x40 /* 0000235A */
0000239A 584F addq.w A7, 4
0000239C 6050 bra +0x52 /* 000023EE */
label0000239E:
0000239E 2D46 FFD4 move.l [A6 - 0x2C], D6
label000023A2:
000023A2 4CD1 00F2 movem.l D1,D4,D5,D6,D7, [A1]
000023A6 4843 swap.w D3
000023A8 E6B9 ror D1, D3
000023AA E6BC ror D4, D3
000023AC E6BD ror D5, D3
000023AE E6BE ror D6, D3
000023B0 E6BF ror D7, D3
000023B2 BD87 xor.l D7, D6
000023B4 CE82 and.l D7, D2
000023B6 BD87 xor.l D7, D6
000023B8 BB86 xor.l D6, D5
000023BA CC82 and.l D6, D2
000023BC BB86 xor.l D6, D5
000023BE B985 xor.l D5, D4
000023C0 CA82 and.l D5, D2
000023C2 B985 xor.l D5, D4
000023C4 B384 xor.l D4, D1
000023C6 C882 and.l D4, D2
000023C8 B384 xor.l D4, D1
000023CA 2013 move.l D0, [A3]
000023CC B181 xor.l D1, D0
000023CE C297 and.l D1, [A7]
000023D0 B181 xor.l D1, D0
000023D2 202B 0010 move.l D0, [A3 + 0x10]
000023D6 B187 xor.l D7, D0
000023D8 CEAE FFD4 and.l D7, [A6 - 0x2C]
000023DC B187 xor.l D7, D0
000023DE 48D3 00F2 movem.l [A3], D1,D4,D5,D6,D7
000023E2 D2CA add.w A1, A2
000023E4 D6CC add.w A3, A4
000023E6 4843 swap.w D3
000023E8 51CB FFB8 dbf D3, -0x4A /* 000023A2 */
000023EC 584F addq.w A7, 4
label000023EE:
000023EE 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000023F2 4E5E unlink A6
000023F4 205F movea.l A0, [A7]+
000023F6 4FEF 0016 lea.l A7, [A7 + 0x16]
000023FA 4ED0 jmp [A0]
000023FC 0000 8000 ori.b D0, 0x0
00002400 C000 and.b D0, D0
00002402 E000 asr D0.b, 8
00002404 F000 F800 .invalid 0xF000, 0xF800 // unimplemented
00002408 FC00 FE00 .unknown 0xFC00 0xFE00 (W = 6)
0000240C FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000240E FF80 .invalid <<F/6/7>>
00002410 FFC0 .invalid <<F/7/7>>
00002412 FFE0 .invalid <<F/7/7>>
00002414 FFF0 .invalid <<F/7/7>>
00002416 FFF8 .invalid <<F/7/7>>
00002418 FFFC .invalid <<F/7/7>>
0000241A FFFE .invalid <<F/7/7>>
0000241C FFFF .invalid <<F/7/7>>
export_41:
0000241E 7000 moveq.l D0, 0x00
00002420 6002 bra +0x4 /* 00002424 */
export_40:
00002422 7001 moveq.l D0, 0x01
label00002424:
00002424 4E56 FFE4 link A6, -0x001C
00002428 3D40 FFE4 move.w [A6 - 0x1C], D0
0000242C 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002430 206E 0008 movea.l A0, [A6 + 0x8]
00002434 2D58 FFF8 move.l [A6 - 0x8], [A0]+
00002438 2D58 FFFC move.l [A6 - 0x4], [A0]+
0000243C 2055 movea.l A0, [A5]
0000243E 2050 movea.l A0, [A0]
00002440 2068 001C movea.l A0, [A0 + 0x1C]
00002444 2050 movea.l A0, [A0]
00002446 2D68 0002 FFF0 move.l [A6 - 0x10], [A0 + 0x2]
0000244C 2D68 0006 FFF4 move.l [A6 - 0xC], [A0 + 0x6]
00002452 2055 movea.l A0, [A5]
00002454 2050 movea.l A0, [A0]
00002456 41E8 0002 lea.l A0, [A0 + 0x2]
0000245A 3D7C 0001 FFE6 move.w [A6 - 0x1A], 0x1
00002460 3028 0004 move.w D0, [A0 + 0x4]
00002464 6A12 bpl +0x14 /* 00002478 */
00002466 2050 movea.l A0, [A0]
00002468 2050 movea.l A0, [A0]
0000246A 3028 0004 move.w D0, [A0 + 0x4]
0000246E 0240 3FFF andi.w D0, 0x3FFF
00002472 3D68 0020 FFE6 move.w [A6 - 0x1A], [A0 + 0x20]
label00002478:
00002478 2650 movea.l A3, [A0]
0000247A 3840 movea.w A4, D0
0000247C 2D68 0006 FFE8 move.l [A6 - 0x18], [A0 + 0x6]
00002482 2D68 000A FFEC move.l [A6 - 0x14], [A0 + 0xA]
00002488 202E FFF0 move.l D0, [A6 - 0x10]
0000248C B06E FFFA cmp.w D0, [A6 - 0x6]
00002490 6F04 ble +0x6 /* 00002496 */
00002492 3D40 FFFA move.w [A6 - 0x6], D0
label00002496:
00002496 4840 swap.w D0
00002498 B06E FFF8 cmp.w D0, [A6 - 0x8]
0000249C 6F04 ble +0x6 /* 000024A2 */
0000249E 3D40 FFF8 move.w [A6 - 0x8], D0
label000024A2:
000024A2 202E FFF4 move.l D0, [A6 - 0xC]
000024A6 B06E FFFE cmp.w D0, [A6 - 0x2]
000024AA 6C04 bge +0x6 /* 000024B0 */
000024AC 3D40 FFFE move.w [A6 - 0x2], D0
label000024B0:
000024B0 4840 swap.w D0
000024B2 B06E FFFC cmp.w D0, [A6 - 0x4]
000024B6 6C04 bge +0x6 /* 000024BC */
000024B8 3D40 FFFC move.w [A6 - 0x4], D0
label000024BC:
000024BC 302E FFFE move.w D0, [A6 - 0x2]
000024C0 B06E FFFA cmp.w D0, [A6 - 0x6]
000024C4 6F00 00CE ble +0xD0 /* 00002594 */
000024C8 362E FFFC move.w D3, [A6 - 0x4]
000024CC 966E FFF8 sub.w D3, [A6 - 0x8]
000024D0 6F00 00C2 ble +0xC4 /* 00002594 */
000024D4 5343 subq.w D3, 1
000024D6 202E FFE8 move.l D0, [A6 - 0x18]
000024DA 916E FFFA sub.w [A6 - 0x6], D0
000024DE 916E FFFE sub.w [A6 - 0x2], D0
000024E2 4840 swap.w D0
000024E4 916E FFF8 sub.w [A6 - 0x8], D0
000024E8 916E FFFC sub.w [A6 - 0x4], D0
000024EC 302E FFE6 move.w D0, [A6 - 0x1A]
000024F0 0C40 0001 cmpi.w D0, 0x1
000024F4 6714 beq +0x16 /* 0000250A */
000024F6 322E FFFA move.w D1, [A6 - 0x6]
000024FA C2C0 mulu.w D1, D0
000024FC 3D41 FFFA move.w [A6 - 0x6], D1
00002500 322E FFFE move.w D1, [A6 - 0x2]
00002504 C2C0 mulu.w D1, D0
00002506 3D41 FFFE move.w [A6 - 0x2], D1
label0000250A:
0000250A 302E FFF8 move.w D0, [A6 - 0x8]
0000250E 320C move.w D1, A4
00002510 C0C1 mulu.w D0, D1
00002512 D7C0 add.l A3, D0
00002514 302E FFFA move.w D0, [A6 - 0x6]
00002518 E840 asr D0.w, 4
0000251A E340 asl D0.w, 1
0000251C D6C0 add.w A3, D0
0000251E 302E FFFA move.w D0, [A6 - 0x6]
00002522 0240 FFF0 andi.w D0, 0xFFF0
00002526 3E2E FFFE move.w D7, [A6 - 0x2]
0000252A 0647 001F addi.w D7, 0x1F
0000252E 9E40 sub.w D7, D0
00002530 EA4F lsr D7.w, 5
00002532 3A2E FFFA move.w D5, [A6 - 0x6]
00002536 0245 000F andi.w D5, 0xF
0000253A E34D lsl D5.w, 1
0000253C 41FA 0196 lea.l A0, [PC + 0x196 /* 000026D4, value 0x8000, cstring "" */]
00002540 3A30 5000 move.w D5, [A0 + D5.w]
00002544 4645 not.w D5
00002546 4845 swap.w D5
00002548 3A3C FFFF move.w D5, 0xFFFF
0000254C 7C00 moveq.l D6, 0x00
0000254E 3C2E FFFE move.w D6, [A6 - 0x2]
00002552 302E FFFA move.w D0, [A6 - 0x6]
00002556 0240 FFF0 andi.w D0, 0xFFF0
0000255A 9C40 sub.w D6, D0
0000255C 5346 subq.w D6, 1
0000255E 0806 0004 btst.b D6, 0x4
00002562 6706 beq +0x8 /* 0000256A */
00002564 4846 swap.w D6
00002566 5346 subq.w D6, 1
00002568 4846 swap.w D6
label0000256A:
0000256A 0246 000F andi.w D6, 0xF
0000256E E34E lsl D6.w, 1
00002570 41FA 0164 lea.l A0, [PC + 0x164 /* 000026D6, value 0x8000C000 */]
00002574 3C30 6000 move.w D6, [A0 + D6.w]
00002578 4A86 tst.l D6
0000257A 6B02 bmi +0x4 /* 0000257E */
0000257C 4846 swap.w D6
label0000257E:
0000257E 3007 move.w D0, D7
00002580 E548 lsl D0.w, 2
00002582 98C0 sub.w A4, D0
00002584 4A6E FFE4 tst.w [A6 - 0x1C]
00002588 6706 beq +0x8 /* 00002590 */
0000258A 4EBA 00B0 jsr [PC + 0xB0 /* 0000263C */]
0000258E 6004 bra +0x6 /* 00002594 */
label00002590:
00002590 4EBA 000E jsr [PC + 0xE /* 000025A0 */]
label00002594:
00002594 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00002598 4E5E unlink A6
0000259A 205F movea.l A0, [A7]+
0000259C 584F addq.w A7, 4
0000259E 4ED0 jmp [A0]
fn000025A0:
000025A0 5347 subq.w D7, 1
000025A2 6610 bne +0x12 /* 000025B4 */
000025A4 CA86 and.l D5, D6
000025A6 4685 not.l D5
label000025A8:
000025A8 CB9B and.l [A3]+, D5
000025AA D6CC add.w A3, A4
000025AC 51CB FFFA dbf D3, -0x8 /* 000025A8 */
000025B0 6000 0088 bra +0x8A /* 0000263A */
label000025B4:
000025B4 4685 not.l D5
000025B6 4686 not.l D6
000025B8 0C47 0001 cmpi.w D7, 0x1
000025BC 660C bne +0xE /* 000025CA */
label000025BE:
000025BE CB9B and.l [A3]+, D5
000025C0 CD9B and.l [A3]+, D6
000025C2 D6CC add.w A3, A4
000025C4 51CB FFF8 dbf D3, -0xA /* 000025BE */
000025C8 6070 bra +0x72 /* 0000263A */
label000025CA:
000025CA 5547 subq.w D7, 2
000025CC 660E bne +0x10 /* 000025DC */
label000025CE:
000025CE CB9B and.l [A3]+, D5
000025D0 429B clr.l [A3]+
000025D2 CD9B and.l [A3]+, D6
000025D4 D6CC add.w A3, A4
000025D6 51CB FFF6 dbf D3, -0xC /* 000025CE */
000025DA 605E bra +0x60 /* 0000263A */
label000025DC:
000025DC 0C47 0015 cmpi.w D7, 0x15
000025E0 6E46 bgt +0x48 /* 00002628 */
000025E2 0447 0015 subi.w D7, 0x15
000025E6 4447 neg.w D7
000025E8 DE47 add.w D7, D7
000025EA 41FB 7006 lea.l A0, [PC + D7.w + 0x6]
label000025EE:
000025EE CB9B and.l [A3]+, D5
000025F0 4ED0 jmp [A0]
000025F2 429B clr.l [A3]+
000025F4 429B clr.l [A3]+
000025F6 429B clr.l [A3]+
000025F8 429B clr.l [A3]+
000025FA 429B clr.l [A3]+
000025FC 429B clr.l [A3]+
000025FE 429B clr.l [A3]+
00002600 429B clr.l [A3]+
00002602 429B clr.l [A3]+
00002604 429B clr.l [A3]+
00002606 429B clr.l [A3]+
00002608 429B clr.l [A3]+
0000260A 429B clr.l [A3]+
0000260C 429B clr.l [A3]+
0000260E 429B clr.l [A3]+
00002610 429B clr.l [A3]+
00002612 429B clr.l [A3]+
00002614 429B clr.l [A3]+
00002616 429B clr.l [A3]+
00002618 429B clr.l [A3]+
0000261A 429B clr.l [A3]+
0000261C 429B clr.l [A3]+
0000261E CD9B and.l [A3]+, D6
00002620 D6CC add.w A3, A4
00002622 51CB FFCA dbf D3, -0x38 /* 000025EE */
00002626 6012 bra +0x14 /* 0000263A */
label00002628:
00002628 CB9B and.l [A3]+, D5
0000262A 3207 move.w D1, D7
label0000262C:
0000262C 429B clr.l [A3]+
0000262E 51C9 FFFC dbf D1, -0x6 /* 0000262C */
00002632 CD9B and.l [A3]+, D6
00002634 D6CC add.w A3, A4
00002636 51CB FFF0 dbf D3, -0x12 /* 00002628 */
label0000263A:
0000263A 4E75 rts
fn0000263C:
0000263C 5347 subq.w D7, 1
0000263E 660E bne +0x10 /* 0000264E */
00002640 CA86 and.l D5, D6
label00002642:
00002642 8B9B or.l [A3]+, D5
00002644 D6CC add.w A3, A4
00002646 51CB FFFA dbf D3, -0x8 /* 00002642 */
0000264A 6000 0086 bra +0x88 /* 000026D2 */
label0000264E:
0000264E 0C47 0001 cmpi.w D7, 0x1
00002652 660C bne +0xE /* 00002660 */
label00002654:
00002654 8B9B or.l [A3]+, D5
00002656 8D9B or.l [A3]+, D6
00002658 D6CC add.w A3, A4
0000265A 51CB FFF8 dbf D3, -0xA /* 00002654 */
0000265E 6072 bra +0x74 /* 000026D2 */
label00002660:
00002660 70FF moveq.l D0, 0xFFFFFFFF
00002662 5547 subq.w D7, 2
00002664 660E bne +0x10 /* 00002674 */
label00002666:
00002666 8B9B or.l [A3]+, D5
00002668 26C0 move.l [A3]+, D0
0000266A 8D9B or.l [A3]+, D6
0000266C D6CC add.w A3, A4
0000266E 51CB FFF6 dbf D3, -0xC /* 00002666 */
00002672 605E bra +0x60 /* 000026D2 */
label00002674:
00002674 0C47 0015 cmpi.w D7, 0x15
00002678 6E46 bgt +0x48 /* 000026C0 */
0000267A 0447 0015 subi.w D7, 0x15
0000267E 4447 neg.w D7
00002680 DE47 add.w D7, D7
00002682 41FB 7006 lea.l A0, [PC + D7.w + 0x6]
label00002686:
00002686 8B9B or.l [A3]+, D5
00002688 4ED0 jmp [A0]
0000268A 26C0 move.l [A3]+, D0
0000268C 26C0 move.l [A3]+, D0
0000268E 26C0 move.l [A3]+, D0
00002690 26C0 move.l [A3]+, D0
00002692 26C0 move.l [A3]+, D0
00002694 26C0 move.l [A3]+, D0
00002696 26C0 move.l [A3]+, D0
00002698 26C0 move.l [A3]+, D0
0000269A 26C0 move.l [A3]+, D0
0000269C 26C0 move.l [A3]+, D0
0000269E 26C0 move.l [A3]+, D0
000026A0 26C0 move.l [A3]+, D0
000026A2 26C0 move.l [A3]+, D0
000026A4 26C0 move.l [A3]+, D0
000026A6 26C0 move.l [A3]+, D0
000026A8 26C0 move.l [A3]+, D0
000026AA 26C0 move.l [A3]+, D0
000026AC 26C0 move.l [A3]+, D0
000026AE 26C0 move.l [A3]+, D0
000026B0 26C0 move.l [A3]+, D0
000026B2 26C0 move.l [A3]+, D0
000026B4 26C0 move.l [A3]+, D0
000026B6 8D9B or.l [A3]+, D6
000026B8 D6CC add.w A3, A4
000026BA 51CB FFCA dbf D3, -0x38 /* 00002686 */
000026BE 6012 bra +0x14 /* 000026D2 */
label000026C0:
000026C0 8B9B or.l [A3]+, D5
000026C2 3207 move.w D1, D7
label000026C4:
000026C4 26C0 move.l [A3]+, D0
000026C6 51C9 FFFC dbf D1, -0x6 /* 000026C4 */
000026CA 8D9B or.l [A3]+, D6
000026CC D6CC add.w A3, A4
000026CE 51CB FFF0 dbf D3, -0x12 /* 000026C0 */
label000026D2:
000026D2 4E75 rts
000026D4 0000 8000 ori.b D0, 0x0
000026D8 C000 and.b D0, D0
000026DA E000 asr D0.b, 8
000026DC F000 F800 .invalid 0xF000, 0xF800 // unimplemented
000026E0 FC00 FE00 .unknown 0xFC00 0xFE00 (W = 6)
000026E4 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000026E6 FF80 .invalid <<F/6/7>>
000026E8 FFC0 .invalid <<F/7/7>>
000026EA FFE0 .invalid <<F/7/7>>
000026EC FFF0 .invalid <<F/7/7>>
000026EE FFF8 .invalid <<F/7/7>>
000026F0 FFFC .invalid <<F/7/7>>
000026F2 FFFE .invalid <<F/7/7>>
000026F4 FFFF .invalid <<F/7/7>>
export_42:
000026F6 4E56 0000 link A6, 0
000026FA 48E7 0700 movem.l -[A7], D5,D6,D7
000026FE 2A2E 0008 move.l D5, [A6 + 0x8]
00002702 2F05 move.l -[A7], D5
00002704 4EBA 0274 jsr [PC + 0x274 /* 0000297A */]
00002708 3C00 move.w D6, D0
0000270A 0C46 FFFF cmpi.w D6, 0xFFFF
0000270E 584F addq.w A7, 4
00002710 6604 bne +0x6 /* 00002716 */
00002712 70FF moveq.l D0, 0xFFFFFFFF
00002714 607E bra +0x80 /* 00002794 */
label00002716:
00002716 0C46 0009 cmpi.w D6, 0x9 /* '\t' */
0000271A 6C2E bge +0x30 /* 0000274A */
0000271C 7E09 moveq.l D7, 0x09
0000271E 6026 bra +0x28 /* 00002746 */
label00002720:
00002720 48C7 ext.l D7
00002722 2007 move.l D0, D7
00002724 5380 subq.l D0, 1
00002726 EB80 asl D0, 5
00002728 41ED DEF2 lea.l A0, [A5 - 0x210E]
0000272C 48C7 ext.l D7
0000272E 2207 move.l D1, D7
00002730 EB81 asl D1, 5
00002732 43ED DEF2 lea.l A1, [A5 - 0x210E]
00002736 D3C1 add.l A1, D1
00002738 D1C0 add.l A0, D0
0000273A 7007 moveq.l D0, 0x07
label0000273C:
0000273C 22D8 move.l [A1]+, [A0]+
0000273E 51C8 FFFC dbf D0, -0x6 /* 0000273C */
00002742 3007 move.w D0, D7
00002744 5347 subq.w D7, 1
label00002746:
00002746 BC47 cmp.w D6, D7
00002748 6DD6 blt -0x28 /* 00002720 */
label0000274A:
0000274A 48C6 ext.l D6
0000274C 2006 move.l D0, D6
0000274E EB80 asl D0, 5
00002750 41ED DEF2 lea.l A0, [A5 - 0x210E]
00002754 2185 081C move.l [A0 + D0 + 0x1C], D5
00002758 48C6 ext.l D6
0000275A 2006 move.l D0, D6
0000275C EB80 asl D0, 5
0000275E 41ED DEF2 lea.l A0, [A5 - 0x210E]
00002762 31AE 000E 081A move.w [A0 + D0 + 0x1A], [A6 + 0xE]
00002768 48C6 ext.l D6
0000276A 2006 move.l D0, D6
0000276C EB80 asl D0, 5
0000276E 41ED DEF2 lea.l A0, [A5 - 0x210E]
00002772 4870 0800 pea.l [A0 + D0]
00002776 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000277A 4EBA DDC4 jsr [PC - 0x223C /* 00000540 */]
0000277E 302D DEEC move.w D0, [A5 - 0x2114]
00002782 B06D DEEE cmp.w D0, [A5 - 0x2112]
00002786 504F addq.w A7, 8
00002788 6C08 bge +0xA /* 00002792 */
0000278A 302D DEEC move.w D0, [A5 - 0x2114]
0000278E 526D DEEC addq.w [A5 - 0x2114], 1
label00002792:
00002792 3006 move.w D0, D6
label00002794:
00002794 4CEE 00E0 FFF4 movem.l D5,D6,D7, [A6 - 0xC]
0000279A 4E5E unlink A6
0000279C 4E75 rts
export_43:
0000279E 4E56 0000 link A6, 0
000027A2 486D DEEC pea.l [A5 - 0x2114]
000027A6 302D E032 move.w D0, [A5 - 0x1FCE]
000027AA 48C0 ext.l D0
000027AC 2F00 move.l -[A7], D0
000027AE 4EBA E9AE jsr [PC - 0x1652 /* 0000115E */]
000027B2 4EBA E59A jsr [PC - 0x1A66 /* 00000D4E */]
000027B6 4E5E unlink A6
000027B8 4E75 rts
export_44:
fn000027BA:
000027BA 4E56 0000 link A6, 0
000027BE 2F07 move.l -[A7], D7
000027C0 3E2E 000A move.w D7, [A6 + 0xA]
000027C4 3B47 E032 move.w [A5 - 0x1FCE], D7
000027C8 486D DEEC pea.l [A5 - 0x2114]
000027CC 48C7 ext.l D7
000027CE 2F07 move.l -[A7], D7
000027D0 4EBA E608 jsr [PC - 0x19F8 /* 00000DDA */]
000027D4 2E2E FFFC move.l D7, [A6 - 0x4]
000027D8 4E5E unlink A6
000027DA 4E75 rts
fn000027DC:
000027DC 4E56 0000 link A6, 0
000027E0 48E7 0708 movem.l -[A7], D5,D6,D7,A4
000027E4 3A2E 0012 move.w D5, [A6 + 0x12]
000027E8 2C2E 000C move.l D6, [A6 + 0xC]
000027EC 286E 0008 movea.l A4, [A6 + 0x8]
000027F0 4247 clr.w D7
000027F2 6042 bra +0x44 /* 00002836 */
label000027F4:
000027F4 48C7 ext.l D7
000027F6 2007 move.l D0, D7
000027F8 EB80 asl D0, 5
000027FA 41ED DEF2 lea.l A0, [A5 - 0x210E]
000027FE 4870 0800 pea.l [A0 + D0]
00002802 2F0C move.l -[A7], A4
00002804 4EBA 01C4 jsr [PC + 0x1C4 /* 000029CA */]
00002808 4A40 tst.w D0
0000280A 504F addq.w A7, 8
0000280C 6624 bne +0x26 /* 00002832 */
0000280E 48C7 ext.l D7
00002810 2007 move.l D0, D7
00002812 EB80 asl D0, 5
00002814 41ED DEF2 lea.l A0, [A5 - 0x210E]
00002818 BCB0 081C cmp.l D6, [A0 + D0 + 0x1C]
0000281C 6614 bne +0x16 /* 00002832 */
0000281E 48C7 ext.l D7
00002820 2007 move.l D0, D7
00002822 EB80 asl D0, 5
00002824 41ED DEF2 lea.l A0, [A5 - 0x210E]
00002828 BA70 081A cmp.w D5, [A0 + D0 + 0x1A]
0000282C 6604 bne +0x6 /* 00002832 */
0000282E 3007 move.w D0, D7
00002830 600C bra +0xE /* 0000283E */
label00002832:
00002832 3007 move.w D0, D7
00002834 5247 addq.w D7, 1
label00002836:
00002836 BE6D DEEC cmp.w D7, [A5 - 0x2114]
0000283A 6DB8 blt -0x46 /* 000027F4 */
0000283C 70FF moveq.l D0, 0xFFFFFFFF
label0000283E:
0000283E 4CEE 10E0 FFF0 movem.l D5,D6,D7,A4, [A6 - 0x10]
00002844 4E5E unlink A6
00002846 4E75 rts
export_45:
fn00002848:
00002848 4E56 0000 link A6, 0
0000284C 48E7 0118 movem.l -[A7], D7,A3,A4
00002850 266E 0010 movea.l A3, [A6 + 0x10]
00002854 286E 000C movea.l A4, [A6 + 0xC]
00002858 3E2E 000A move.w D7, [A6 + 0xA]
0000285C BE6D DEEC cmp.w D7, [A5 - 0x2114]
00002860 6C36 bge +0x38 /* 00002898 */
00002862 48C7 ext.l D7
00002864 2007 move.l D0, D7
00002866 EB80 asl D0, 5
00002868 41ED DEF2 lea.l A0, [A5 - 0x210E]
0000286C 28B0 081C move.l [A4], [A0 + D0 + 0x1C]
00002870 48C7 ext.l D7
00002872 2007 move.l D0, D7
00002874 EB80 asl D0, 5
00002876 41ED DEF2 lea.l A0, [A5 - 0x210E]
0000287A 36B0 081A move.w [A3], [A0 + D0 + 0x1A]
0000287E 2F2E 0014 move.l -[A7], [A6 + 0x14]
00002882 48C7 ext.l D7
00002884 2007 move.l D0, D7
00002886 EB80 asl D0, 5
00002888 41ED DEF2 lea.l A0, [A5 - 0x210E]
0000288C 4870 0800 pea.l [A0 + D0]
00002890 4EBA DCAE jsr [PC - 0x2352 /* 00000540 */]
00002894 504F addq.w A7, 8
00002896 600C bra +0xE /* 000028A4 */
label00002898:
00002898 7000 moveq.l D0, 0x00
0000289A 2880 move.l [A4], D0
0000289C 4253 clr.w [A3]
0000289E 206E 0014 movea.l A0, [A6 + 0x14]
000028A2 4210 clr.b [A0]
label000028A4:
000028A4 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
000028AA 4E5E unlink A6
000028AC 4E75 rts
export_46:
fn000028AE:
000028AE 4E56 0000 link A6, 0
000028B2 302D DEEC move.w D0, [A5 - 0x2114]
000028B6 4E5E unlink A6
000028B8 4E75 rts
export_47:
000028BA 4E56 0000 link A6, 0
000028BE 4EBA E6D6 jsr [PC - 0x192A /* 00000F96 */]
000028C2 486D DEEC pea.l [A5 - 0x2114]
000028C6 302E 000A move.w D0, [A6 + 0xA]
000028CA 48C0 ext.l D0
000028CC 2F00 move.l -[A7], D0
000028CE 4EBA E714 jsr [PC - 0x18EC /* 00000FE4 */]
000028D2 4E5E unlink A6
000028D4 4E75 rts
fn000028D6:
000028D6 4E56 0000 link A6, 0
000028DA 48E7 0300 movem.l -[A7], D6,D7
000028DE 3C2E 000A move.w D6, [A6 + 0xA]
000028E2 6D54 blt +0x56 /* 00002938 */
000028E4 48C6 ext.l D6
000028E6 302D DEEC move.w D0, [A5 - 0x2114]
000028EA 48C0 ext.l D0
000028EC 5380 subq.l D0, 1
000028EE B086 cmp.l D0, D6
000028F0 6D46 blt +0x48 /* 00002938 */
000028F2 48C6 ext.l D6
000028F4 302D DEEC move.w D0, [A5 - 0x2114]
000028F8 48C0 ext.l D0
000028FA 5380 subq.l D0, 1
000028FC B086 cmp.l D0, D6
000028FE 6F30 ble +0x32 /* 00002930 */
00002900 3E06 move.w D7, D6
00002902 6026 bra +0x28 /* 0000292A */
label00002904:
00002904 48C7 ext.l D7
00002906 2007 move.l D0, D7
00002908 5280 addq.l D0, 1
0000290A EB80 asl D0, 5
0000290C 41ED DEF2 lea.l A0, [A5 - 0x210E]
00002910 48C7 ext.l D7
00002912 2207 move.l D1, D7
00002914 EB81 asl D1, 5
00002916 43ED DEF2 lea.l A1, [A5 - 0x210E]
0000291A D3C1 add.l A1, D1
0000291C D1C0 add.l A0, D0
0000291E 7007 moveq.l D0, 0x07
label00002920:
00002920 22D8 move.l [A1]+, [A0]+
00002922 51C8 FFFC dbf D0, -0x6 /* 00002920 */
00002926 3007 move.w D0, D7
00002928 5247 addq.w D7, 1
label0000292A:
0000292A BE6D DEEC cmp.w D7, [A5 - 0x2114]
0000292E 6DD4 blt -0x2A /* 00002904 */
label00002930:
00002930 302D DEEC move.w D0, [A5 - 0x2114]
00002934 536D DEEC subq.w [A5 - 0x2114], 1
label00002938:
00002938 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
0000293E 4E5E unlink A6
00002940 4E75 rts
export_48:
00002942 4E56 0000 link A6, 0
00002946 2F07 move.l -[A7], D7
00002948 302E 0012 move.w D0, [A6 + 0x12]
0000294C 48C0 ext.l D0
0000294E 2F00 move.l -[A7], D0
00002950 2F2E 000C move.l -[A7], [A6 + 0xC]
00002954 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002958 4EBA FE82 jsr [PC - 0x17E /* 000027DC */]
0000295C 3E00 move.w D7, D0
0000295E 0C47 FFFF cmpi.w D7, 0xFFFF
00002962 4FEF 000C lea.l A7, [A7 + 0xC]
00002966 670A beq +0xC /* 00002972 */
00002968 48C7 ext.l D7
0000296A 2F07 move.l -[A7], D7
0000296C 4EBA FF68 jsr [PC - 0x98 /* 000028D6 */]
00002970 584F addq.w A7, 4
label00002972:
00002972 2E2E FFFC move.l D7, [A6 - 0x4]
00002976 4E5E unlink A6
00002978 4E75 rts
export_49:
fn0000297A:
0000297A 4E56 0000 link A6, 0
0000297E 48E7 0300 movem.l -[A7], D6,D7
00002982 2C2E 0008 move.l D6, [A6 + 0x8]
00002986 7032 moveq.l D0, 0x32
00002988 B086 cmp.l D0, D6
0000298A 6F04 ble +0x6 /* 00002990 */
0000298C 70FF moveq.l D0, 0xFFFFFFFF
0000298E 6030 bra +0x32 /* 000029C0 */
label00002990:
00002990 4247 clr.w D7
00002992 6018 bra +0x1A /* 000029AC */
label00002994:
00002994 48C7 ext.l D7
00002996 2007 move.l D0, D7
00002998 EB80 asl D0, 5
0000299A 41ED DEF2 lea.l A0, [A5 - 0x210E]
0000299E BCB0 081C cmp.l D6, [A0 + D0 + 0x1C]
000029A2 6F04 ble +0x6 /* 000029A8 */
000029A4 3007 move.w D0, D7
000029A6 6018 bra +0x1A /* 000029C0 */
label000029A8:
000029A8 3007 move.w D0, D7
000029AA 5247 addq.w D7, 1
label000029AC:
000029AC BE6D DEEC cmp.w D7, [A5 - 0x2114]
000029B0 6DE2 blt -0x1C /* 00002994 */
000029B2 700A moveq.l D0, 0x0A
000029B4 B06D DEEC cmp.w D0, [A5 - 0x2114]
000029B8 6F04 ble +0x6 /* 000029BE */
000029BA 3007 move.w D0, D7
000029BC 6002 bra +0x4 /* 000029C0 */
label000029BE:
000029BE 70FF moveq.l D0, 0xFFFFFFFF
label000029C0:
000029C0 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
000029C6 4E5E unlink A6
000029C8 4E75 rts
fn000029CA:
000029CA 4E56 0000 link A6, 0
000029CE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000029D2 266E 000C movea.l A3, [A6 + 0xC]
000029D6 286E 0008 movea.l A4, [A6 + 0x8]
000029DA 7C00 moveq.l D6, 0x00
000029DC 1C14 move.b D6, [A4]
000029DE 7E00 moveq.l D7, 0x00
000029E0 1E13 move.b D7, [A3]
000029E2 BE46 cmp.w D7, D6
000029E4 6704 beq +0x6 /* 000029EA */
000029E6 70FF moveq.l D0, 0xFFFFFFFF
000029E8 601C bra +0x1E /* 00002A06 */
label000029EA:
000029EA 3E06 move.w D7, D6
000029EC 6012 bra +0x14 /* 00002A00 */
label000029EE:
000029EE 1034 7000 move.b D0, [A4 + D7.w]
000029F2 B033 7000 cmp.b D0, [A3 + D7.w]
000029F6 6704 beq +0x6 /* 000029FC */
000029F8 70FF moveq.l D0, 0xFFFFFFFF
000029FA 600A bra +0xC /* 00002A06 */
label000029FC:
000029FC 3007 move.w D0, D7
000029FE 5347 subq.w D7, 1
label00002A00:
00002A00 4A47 tst.w D7
00002A02 6EEA bgt -0x14 /* 000029EE */
00002A04 3007 move.w D0, D7
label00002A06:
00002A06 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00002A0C 4E5E unlink A6
00002A0E 4E75 rts
fn00002A10:
00002A10 4E56 0000 link A6, 0
00002A14 2F07 move.l -[A7], D7
00002A16 3E2E 000E move.w D7, [A6 + 0xE]
00002A1A 302E 000A move.w D0, [A6 + 0xA]
00002A1E 5340 subq.w D0, 1
00002A20 674C beq +0x4E /* 00002A6E */
00002A22 5340 subq.w D0, 1
00002A24 673A beq +0x3C /* 00002A60 */
00002A26 5340 subq.w D0, 1
00002A28 6756 beq +0x58 /* 00002A80 */
00002A2A 5340 subq.w D0, 1
00002A2C 674C beq +0x4E /* 00002A7A */
00002A2E 5340 subq.w D0, 1
00002A30 677E beq +0x80 /* 00002AB0 */
00002A32 5340 subq.w D0, 1
00002A34 6750 beq +0x52 /* 00002A86 */
00002A36 5340 subq.w D0, 1
00002A38 6758 beq +0x5A /* 00002A92 */
00002A3A 5340 subq.w D0, 1
00002A3C 675A beq +0x5C /* 00002A98 */
00002A3E 5340 subq.w D0, 1
00002A40 675C beq +0x5E /* 00002A9E */
00002A42 5340 subq.w D0, 1
00002A44 675E beq +0x60 /* 00002AA4 */
00002A46 5340 subq.w D0, 1
00002A48 6760 beq +0x62 /* 00002AAA */
00002A4A 5340 subq.w D0, 1
00002A4C 6768 beq +0x6A /* 00002AB6 */
00002A4E 5340 subq.w D0, 1
00002A50 6770 beq +0x72 /* 00002AC2 */
00002A52 5340 subq.w D0, 1
00002A54 677E beq +0x80 /* 00002AD4 */
00002A56 0440 0056 subi.w D0, 0x56 /* 'V' */
00002A5A 676C beq +0x6E /* 00002AC8 */
00002A5C 6000 0082 bra +0x84 /* 00002AE0 */
label00002A60:
00002A60 48C7 ext.l D7
00002A62 2F07 move.l -[A7], D7
00002A64 4EAD 040A jsr [A5 + 0x40A /* export_125 */]
00002A68 584F addq.w A7, 4
00002A6A 6000 0084 bra +0x86 /* 00002AF0 */
label00002A6E:
00002A6E 48C7 ext.l D7
00002A70 2F07 move.l -[A7], D7
00002A72 4EAD 043A jsr [A5 + 0x43A /* export_131 */]
00002A76 584F addq.w A7, 4
00002A78 6076 bra +0x78 /* 00002AF0 */
label00002A7A:
00002A7A 4EAD 041A jsr [A5 + 0x41A /* export_127 */]
00002A7E 6070 bra +0x72 /* 00002AF0 */
label00002A80:
00002A80 4EAD 0422 jsr [A5 + 0x422 /* export_128 */]
00002A84 606A bra +0x6C /* 00002AF0 */
label00002A86:
00002A86 48C7 ext.l D7
00002A88 2F07 move.l -[A7], D7
00002A8A 4EAD 042A jsr [A5 + 0x42A /* export_129 */]
00002A8E 584F addq.w A7, 4
00002A90 605E bra +0x60 /* 00002AF0 */
label00002A92:
00002A92 4EAD 04BA jsr [A5 + 0x4BA /* export_147 */]
00002A96 6058 bra +0x5A /* 00002AF0 */
label00002A98:
00002A98 4EAD 04C2 jsr [A5 + 0x4C2 /* export_148 */]
00002A9C 6052 bra +0x54 /* 00002AF0 */
label00002A9E:
00002A9E 4EAD 04D2 jsr [A5 + 0x4D2 /* export_150 */]
00002AA2 604C bra +0x4E /* 00002AF0 */
label00002AA4:
00002AA4 4EAD 04CA jsr [A5 + 0x4CA /* export_149 */]
00002AA8 6046 bra +0x48 /* 00002AF0 */
label00002AAA:
00002AAA 4EAD 064A jsr [A5 + 0x64A /* export_197 */]
00002AAE 6040 bra +0x42 /* 00002AF0 */
label00002AB0:
00002AB0 4EAD 03EA jsr [A5 + 0x3EA /* export_121 */]
00002AB4 603A bra +0x3C /* 00002AF0 */
label00002AB6:
00002AB6 48C7 ext.l D7
00002AB8 2F07 move.l -[A7], D7
00002ABA 4EBA 0D02 jsr [PC + 0xD02 /* 000037BE */]
00002ABE 584F addq.w A7, 4
00002AC0 602E bra +0x30 /* 00002AF0 */
label00002AC2:
00002AC2 4EAD 046A jsr [A5 + 0x46A /* export_137 */]
00002AC6 6028 bra +0x2A /* 00002AF0 */
label00002AC8:
00002AC8 48C7 ext.l D7
00002ACA 2F07 move.l -[A7], D7
00002ACC 4EBA 1814 jsr [PC + 0x1814 /* 000042E2 */]
00002AD0 584F addq.w A7, 4
00002AD2 601C bra +0x1E /* 00002AF0 */
label00002AD4:
00002AD4 48C7 ext.l D7
00002AD6 2F07 move.l -[A7], D7
00002AD8 4EAD 0402 jsr [A5 + 0x402 /* export_124 */]
00002ADC 584F addq.w A7, 4
00002ADE 6010 bra +0x12 /* 00002AF0 */
label00002AE0:
00002AE0 486D E080 pea.l [A5 - 0x1F80]
00002AE4 2F3C FFFF EC78 move.l -[A7], 0xFFFFEC78
00002AEA 4EBA 04BA jsr [PC + 0x4BA /* 00002FA6 */]
00002AEE 504F addq.w A7, 8
label00002AF0:
00002AF0 2E2E FFFC move.l D7, [A6 - 0x4]
00002AF4 4E5E unlink A6
00002AF6 4E75 rts
fn00002AF8:
00002AF8 4E56 0000 link A6, 0
00002AFC 2F07 move.l -[A7], D7
00002AFE 2E2E 0008 move.l D7, [A6 + 0x8]
00002B02 4A2D DB94 tst.b [A5 - 0x246C]
00002B06 6600 0140 bne +0x142 /* 00002C48 */
00002B0A 303C 0100 move.w D0, 0x100
00002B0E C06E 000E and.w D0, [A6 + 0xE]
00002B12 7200 moveq.l D1, 0x00
00002B14 3200 move.w D1, D0
00002B16 4A81 tst.l D1
00002B18 6600 012E bne +0x130 /* 00002C48 */
00002B1C 302D F01C move.w D0, [A5 - 0xFE4]
00002B20 5340 subq.w D0, 1
00002B22 6700 0124 beq +0x126 /* 00002C48 */
00002B26 5340 subq.w D0, 1
00002B28 6700 011E beq +0x120 /* 00002C48 */
00002B2C 5340 subq.w D0, 1
00002B2E 6700 0118 beq +0x11A /* 00002C48 */
00002B32 5340 subq.w D0, 1
00002B34 6714 beq +0x16 /* 00002B4A */
00002B36 5340 subq.w D0, 1
00002B38 6710 beq +0x12 /* 00002B4A */
00002B3A 5340 subq.w D0, 1
00002B3C 6700 0096 beq +0x98 /* 00002BD4 */
00002B40 5E40 addq.w D0, 7
00002B42 6700 0104 beq +0x106 /* 00002C48 */
00002B46 6000 00F0 bra +0xF2 /* 00002C38 */
label00002B4A:
00002B4A 0287 0000 00FF andi.l D7, 0xFF
00002B50 7061 moveq.l D0, 0x61
00002B52 B087 cmp.l D0, D7
00002B54 6E0E bgt +0x10 /* 00002B64 */
00002B56 707A moveq.l D0, 0x7A
00002B58 B087 cmp.l D0, D7
00002B5A 6D08 blt +0xA /* 00002B64 */
00002B5C 2007 move.l D0, D7
00002B5E 7220 moveq.l D1, 0x20
00002B60 9081 sub.l D0, D1
00002B62 2E00 move.l D7, D0
label00002B64:
00002B64 2007 move.l D0, D7
00002B66 0480 0000 001C subi.l D0, 0x1C
00002B6C 673E beq +0x40 /* 00002BAC */
00002B6E 5380 subq.l D0, 1
00002B70 673E beq +0x40 /* 00002BB0 */
00002B72 5380 subq.l D0, 1
00002B74 672E beq +0x30 /* 00002BA4 */
00002B76 5380 subq.l D0, 1
00002B78 672E beq +0x30 /* 00002BA8 */
00002B7A 5380 subq.l D0, 1
00002B7C 6736 beq +0x38 /* 00002BB4 */
00002B7E 0480 0000 0021 subi.l D0, 0x21 /* '!' */
00002B84 671E beq +0x20 /* 00002BA4 */
00002B86 5180 subq.l D0, 8
00002B88 671A beq +0x1C /* 00002BA4 */
00002B8A 5380 subq.l D0, 1
00002B8C 671E beq +0x20 /* 00002BAC */
00002B8E 5380 subq.l D0, 1
00002B90 671E beq +0x20 /* 00002BB0 */
00002B92 5580 subq.l D0, 2
00002B94 6712 beq +0x14 /* 00002BA8 */
00002B96 0480 0000 0009 subi.l D0, 0x9 /* '\t' */
00002B9C 671A beq +0x1C /* 00002BB8 */
00002B9E 5980 subq.l D0, 4
00002BA0 6706 beq +0x8 /* 00002BA8 */
00002BA2 601C bra +0x1E /* 00002BC0 */
label00002BA4:
00002BA4 7E49 moveq.l D7, 0x49
00002BA6 601A bra +0x1C /* 00002BC2 */
label00002BA8:
00002BA8 7E4D moveq.l D7, 0x4D
00002BAA 6016 bra +0x18 /* 00002BC2 */
label00002BAC:
00002BAC 7E4A moveq.l D7, 0x4A
00002BAE 6012 bra +0x14 /* 00002BC2 */
label00002BB0:
00002BB0 7E4B moveq.l D7, 0x4B
00002BB2 600E bra +0x10 /* 00002BC2 */
label00002BB4:
00002BB4 7E20 moveq.l D7, 0x20
00002BB6 600A bra +0xC /* 00002BC2 */
label00002BB8:
00002BB8 4EAD 03E2 jsr [A5 + 0x3E2 /* export_120 */]
00002BBC 7E00 moveq.l D7, 0x00
00002BBE 6002 bra +0x4 /* 00002BC2 */
label00002BC0:
00002BC0 7E00 moveq.l D7, 0x00
label00002BC2:
00002BC2 4A87 tst.l D7
00002BC4 6700 0082 beq +0x84 /* 00002C48 */
00002BC8 A856 syscall ObscureCursor
00002BCA 2F07 move.l -[A7], D7
00002BCC 4EBA 06EE jsr [PC + 0x6EE /* 000032BC */]
00002BD0 584F addq.w A7, 4
00002BD2 6074 bra +0x76 /* 00002C48 */
label00002BD4:
00002BD4 0287 0000 00FF andi.l D7, 0xFF
00002BDA 7061 moveq.l D0, 0x61
00002BDC B087 cmp.l D0, D7
00002BDE 6E0E bgt +0x10 /* 00002BEE */
00002BE0 707A moveq.l D0, 0x7A
00002BE2 B087 cmp.l D0, D7
00002BE4 6D08 blt +0xA /* 00002BEE */
00002BE6 2007 move.l D0, D7
00002BE8 7220 moveq.l D1, 0x20
00002BEA 9081 sub.l D0, D1
00002BEC 2E00 move.l D7, D0
label00002BEE:
00002BEE 2007 move.l D0, D7
00002BF0 0480 0000 001C subi.l D0, 0x1C
00002BF6 6716 beq +0x18 /* 00002C0E */
00002BF8 5380 subq.l D0, 1
00002BFA 6716 beq +0x18 /* 00002C12 */
00002BFC 5780 subq.l D0, 3
00002BFE 6716 beq +0x18 /* 00002C16 */
00002C00 0480 0000 002A subi.l D0, 0x2A /* '*' */
00002C06 6706 beq +0x8 /* 00002C0E */
00002C08 5380 subq.l D0, 1
00002C0A 6706 beq +0x8 /* 00002C12 */
00002C0C 601A bra +0x1C /* 00002C28 */
label00002C0E:
00002C0E 7E4A moveq.l D7, 0x4A
00002C10 6016 bra +0x18 /* 00002C28 */
label00002C12:
00002C12 7E4B moveq.l D7, 0x4B
00002C14 6012 bra +0x14 /* 00002C28 */
label00002C16:
00002C16 7001 moveq.l D0, 0x01
00002C18 2F00 move.l -[A7], D0
00002C1A 4EAD 065A jsr [A5 + 0x65A /* export_199 */]
00002C1E 7005 moveq.l D0, 0x05
00002C20 2F00 move.l -[A7], D0
00002C22 4EBA 012C jsr [PC + 0x12C /* 00002D50 */]
00002C26 504F addq.w A7, 8
label00002C28:
00002C28 4A87 tst.l D7
00002C2A 671C beq +0x1E /* 00002C48 */
00002C2C A856 syscall ObscureCursor
00002C2E 2F07 move.l -[A7], D7
00002C30 4EBA 068A jsr [PC + 0x68A /* 000032BC */]
00002C34 584F addq.w A7, 4
00002C36 6010 bra +0x12 /* 00002C48 */
label00002C38:
00002C38 486D E08A pea.l [A5 - 0x1F76]
00002C3C 2F3C FFFF EC78 move.l -[A7], 0xFFFFEC78
00002C42 4EBA 0362 jsr [PC + 0x362 /* 00002FA6 */]
00002C46 504F addq.w A7, 8
label00002C48:
00002C48 2E2E FFFC move.l D7, [A6 - 0x4]
00002C4C 4E5E unlink A6
00002C4E 4E75 rts
fn00002C50:
00002C50 4E56 FFFC link A6, -0x0004
00002C54 2F07 move.l -[A7], D7
00002C56 202E 0008 move.l D0, [A6 + 0x8]
00002C5A B0AD DCD6 cmp.l D0, [A5 - 0x232A]
00002C5E 6600 00E8 bne +0xEA /* 00002D48 */
00002C62 4A2D DB94 tst.b [A5 - 0x246C]
00002C66 6600 00E0 bne +0xE2 /* 00002D48 */
00002C6A 2F2D DCD6 move.l -[A7], [A5 - 0x232A]
00002C6E A873 syscall SetPort
00002C70 486E 000C pea.l [A6 + 0xC]
00002C74 A871 syscall GlobalToLocal
00002C76 302D F01A move.w D0, [A5 - 0xFE6]
00002C7A 5340 subq.w D0, 1
00002C7C 6700 0096 beq +0x98 /* 00002D14 */
00002C80 5340 subq.w D0, 1
00002C82 6700 009C beq +0x9E /* 00002D20 */
00002C86 5340 subq.w D0, 1
00002C88 6700 00A2 beq +0xA4 /* 00002D2C */
00002C8C 5340 subq.w D0, 1
00002C8E 6714 beq +0x16 /* 00002CA4 */
00002C90 5340 subq.w D0, 1
00002C92 6710 beq +0x12 /* 00002CA4 */
00002C94 5340 subq.w D0, 1
00002C96 6700 00B0 beq +0xB2 /* 00002D48 */
00002C9A 5E40 addq.w D0, 7
00002C9C 6700 00AA beq +0xAC /* 00002D48 */
00002CA0 6000 0096 bra +0x98 /* 00002D38 */
label00002CA4:
00002CA4 7043 moveq.l D0, 0x43
00002CA6 B06E 000E cmp.w D0, [A6 + 0xE]
00002CAA 6E00 009C bgt +0x9E /* 00002D48 */
00002CAE 0C6E 01BD 000E cmpi.w [A6 + 0xE], 0x1BD
00002CB4 6C00 0092 bge +0x94 /* 00002D48 */
00002CB8 7022 moveq.l D0, 0x22
00002CBA B06E 000C cmp.w D0, [A6 + 0xC]
00002CBE 6E00 0088 bgt +0x8A /* 00002D48 */
00002CC2 0C6E 011C 000C cmpi.w [A6 + 0xC], 0x11C
00002CC8 6C7E bge +0x80 /* 00002D48 */
00002CCA 302E 000C move.w D0, [A6 + 0xC]
00002CCE 48C0 ext.l D0
00002CD0 7222 moveq.l D1, 0x22
00002CD2 9081 sub.l D0, D1
00002CD4 7232 moveq.l D1, 0x32
00002CD6 4EBA 28DA jsr [PC + 0x28DA /* 000055B2 */]
00002CDA D080 add.l D0, D0
00002CDC 2200 move.l D1, D0
00002CDE D281 add.l D1, D1
00002CE0 D081 add.l D0, D1
00002CE2 322E 000E move.w D1, [A6 + 0xE]
00002CE6 48C1 ext.l D1
00002CE8 7443 moveq.l D2, 0x43
00002CEA 9282 sub.l D1, D2
00002CEC 2D40 FFFC move.l [A6 - 0x4], D0
00002CF0 2001 move.l D0, D1
00002CF2 723F moveq.l D1, 0x3F
00002CF4 4EBA 28BC jsr [PC + 0x28BC /* 000055B2 */]
00002CF8 222E FFFC move.l D1, [A6 - 0x4]
00002CFC 3E00 move.w D7, D0
00002CFE DE41 add.w D7, D1
00002D00 48C7 ext.l D7
00002D02 2007 move.l D0, D7
00002D04 4480 neg.l D0
00002D06 4880 ext.w D0
00002D08 48C0 ext.l D0
00002D0A 2F00 move.l -[A7], D0
00002D0C 4EBA 05AE jsr [PC + 0x5AE /* 000032BC */]
00002D10 584F addq.w A7, 4
00002D12 6034 bra +0x36 /* 00002D48 */
label00002D14:
00002D14 7002 moveq.l D0, 0x02
00002D16 2F00 move.l -[A7], D0
00002D18 4EBA 0036 jsr [PC + 0x36 /* 00002D50 */]
00002D1C 584F addq.w A7, 4
00002D1E 6028 bra +0x2A /* 00002D48 */
label00002D20:
00002D20 7003 moveq.l D0, 0x03
00002D22 2F00 move.l -[A7], D0
00002D24 4EBA 002A jsr [PC + 0x2A /* 00002D50 */]
00002D28 584F addq.w A7, 4
00002D2A 601C bra +0x1E /* 00002D48 */
label00002D2C:
00002D2C 7001 moveq.l D0, 0x01
00002D2E 2F00 move.l -[A7], D0
00002D30 4EBA 001E jsr [PC + 0x1E /* 00002D50 */]
00002D34 584F addq.w A7, 4
00002D36 6010 bra +0x12 /* 00002D48 */
label00002D38:
00002D38 486D E092 pea.l [A5 - 0x1F6E]
00002D3C 2F3C FFFF EC78 move.l -[A7], 0xFFFFEC78
00002D42 4EBA 0262 jsr [PC + 0x262 /* 00002FA6 */]
00002D46 504F addq.w A7, 8
label00002D48:
00002D48 2E2E FFF8 move.l D7, [A6 - 0x8]
00002D4C 4E5E unlink A6
00002D4E 4E75 rts
fn00002D50:
00002D50 4E56 0000 link A6, 0
00002D54 7001 moveq.l D0, 0x01
00002D56 2F00 move.l -[A7], D0
00002D58 7202 moveq.l D1, 0x02
00002D5A 2F01 move.l -[A7], D1
00002D5C 4EBA 077C jsr [PC + 0x77C /* 000034DA */]
00002D60 302E 000A move.w D0, [A6 + 0xA]
00002D64 48C0 ext.l D0
00002D66 2F00 move.l -[A7], D0
00002D68 7064 moveq.l D0, 0x64
00002D6A 2F00 move.l -[A7], D0
00002D6C 4EBA 0850 jsr [PC + 0x850 /* 000035BE */]
00002D70 4E5E unlink A6
00002D72 4E75 rts
fn00002D74:
00002D74 4E56 0000 link A6, 0
00002D78 2F0C move.l -[A7], A4
00002D7A 307C 0000 movea.w A0, 0x0
00002D7E A04B syscall SetGrowZone
00002D80 598F subq.l A7, 4
00002D82 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00002D88 3F3C 03E8 move.w -[A7], 0x3E8
00002D8C A9A0 syscall GetResource
00002D8E 285F movea.l A4, [A7]+
00002D90 200C move.l D0, A4
00002D92 6704 beq +0x6 /* 00002D98 */
00002D94 204C movea.l A0, A4
00002D96 A04A syscall HNoPurge
label00002D98:
00002D98 598F subq.l A7, 4
00002D9A 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00002DA0 3F3C 03E9 move.w -[A7], 0x3E9
00002DA4 A9A0 syscall GetResource
00002DA6 285F movea.l A4, [A7]+
00002DA8 200C move.l D0, A4
00002DAA 6704 beq +0x6 /* 00002DB0 */
00002DAC 204C movea.l A0, A4
00002DAE A04A syscall HNoPurge
label00002DB0:
00002DB0 598F subq.l A7, 4
00002DB2 2F3C 4D45 4343 move.l -[A7], 0x4D454343 /* 'MECC' */
00002DB8 7002 moveq.l D0, 0x02
00002DBA 3F00 move.w -[A7], D0
00002DBC A9A0 syscall GetResource
00002DBE 285F movea.l A4, [A7]+
00002DC0 200C move.l D0, A4
00002DC2 6704 beq +0x6 /* 00002DC8 */
00002DC4 204C movea.l A0, A4
00002DC6 A04A syscall HNoPurge
label00002DC8:
00002DC8 3F3C 03E8 move.w -[A7], 0x3E8
00002DCC A98A syscall FreeAlert
00002DCE 286E FFFC movea.l A4, [A6 - 0x4]
00002DD2 4E5E unlink A6
00002DD4 4E75 rts
export_50:
00002DD6 4E56 FF00 link A6, -0x0100
00002DDA 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002DDE 2E2E 0008 move.l D7, [A6 + 0x8]
00002DE2 47EE FF00 lea.l A3, [A6 - 0x100]
00002DE6 200D move.l D0, A5
00002DE8 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
00002DEC 2C00 move.l D6, D0
00002DEE 2878 0328 movea.l A4, [0x00000328 /* GZRootHnd */]
00002DF2 200C move.l D0, A4
00002DF4 6704 beq +0x6 /* 00002DFA */
00002DF6 204C movea.l A0, A4
00002DF8 A029 syscall HLock
label00002DFA:
00002DFA 4AAD E17E tst.l [A5 - 0x1E82]
00002DFE 673E beq +0x40 /* 00002E3E */
00002E00 206D E17E movea.l A0, [A5 - 0x1E82]
00002E04 A023 syscall DisposHandle/DisposeHandle
00002E06 7000 moveq.l D0, 0x00
00002E08 2B40 E17E move.l [A5 - 0x1E82], D0
00002E0C 2007 move.l D0, D7
00002E0E A04C syscall CompactMem
00002E10 BE80 cmp.l D7, D0
00002E12 6E2A bgt +0x2C /* 00002E3E */
00002E14 2F0B move.l -[A7], A3
00002E16 3F3C 03E9 move.w -[A7], 0x3E9
00002E1A 7001 moveq.l D0, 0x01
00002E1C 3F00 move.w -[A7], D0
00002E1E 4EBA 2DC0 jsr [PC + 0x2DC0 /* 00005BE0 */]
00002E22 2F0B move.l -[A7], A3
00002E24 4EBA D740 jsr [PC - 0x28C0 /* 00000566 */]
00002E28 200C move.l D0, A4
00002E2A 584F addq.w A7, 4
00002E2C 6704 beq +0x6 /* 00002E32 */
00002E2E 204C movea.l A0, A4
00002E30 A02A syscall HUnlock
label00002E32:
00002E32 2006 move.l D0, D6
00002E34 C18D exg D0, A5
00002E36 7001 moveq.l D0, 0x01
00002E38 2D40 000C move.l [A6 + 0xC], D0
00002E3C 6024 bra +0x26 /* 00002E62 */
label00002E3E:
00002E3E 4AAD E17A tst.l [A5 - 0x1E86]
00002E42 6706 beq +0x8 /* 00002E4A */
00002E44 206D E17A movea.l A0, [A5 - 0x1E86]
00002E48 A023 syscall DisposHandle/DisposeHandle
label00002E4A:
00002E4A 2F0B move.l -[A7], A3
00002E4C 3F3C 03E9 move.w -[A7], 0x3E9
00002E50 7006 moveq.l D0, 0x06
00002E52 3F00 move.w -[A7], D0
00002E54 4EBA 2D8A jsr [PC + 0x2D8A /* 00005BE0 */]
00002E58 2F0B move.l -[A7], A3
00002E5A 4EBA DBE0 jsr [PC - 0x2420 /* 00000A3C */]
00002E5E A9F4 syscall ExitToShell
00002E60 584F addq.w A7, 4
label00002E62:
00002E62 4CEE 18C0 FEF0 movem.l D6,D7,A3,A4, [A6 - 0x110]
00002E68 4E5E unlink A6
00002E6A 2E9F move.l [A7], [A7]+
00002E6C 4E75 rts
fn00002E6E:
00002E6E 4E56 0000 link A6, 0
00002E72 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00002E76 286E 000C movea.l A4, [A6 + 0xC]
00002E7A 3A2E 000A move.w D5, [A6 + 0xA]
00002E7E 4204 clr.b D4
00002E80 4A45 tst.w D5
00002E82 6C14 bge +0x16 /* 00002E98 */
00002E84 48C5 ext.l D5
00002E86 2005 move.l D0, D5
00002E88 4480 neg.l D0
00002E8A 3A00 move.w D5, D0
00002E8C 5214 addq.b [A4], 1
00002E8E 7000 moveq.l D0, 0x00
00002E90 1014 move.b D0, [A4]
00002E92 19BC 002D 0000 move.b [A4 + D0.w], 0x2D /* '-' */
label00002E98:
00002E98 3E3C 2710 move.w D7, 0x2710
00002E9C 7600 moveq.l D3, 0x00
label00002E9E:
00002E9E 4246 clr.w D6
00002EA0 6006 bra +0x8 /* 00002EA8 */
label00002EA2:
00002EA2 9A47 sub.w D5, D7
00002EA4 3006 move.w D0, D6
00002EA6 5246 addq.w D6, 1
label00002EA8:
00002EA8 BE45 cmp.w D7, D5
00002EAA 6FF6 ble -0x8 /* 00002EA2 */
00002EAC 4A46 tst.w D6
00002EAE 660A bne +0xC /* 00002EBA */
00002EB0 0C47 0001 cmpi.w D7, 0x1
00002EB4 6704 beq +0x6 /* 00002EBA */
00002EB6 4A04 tst.b D4
00002EB8 6714 beq +0x16 /* 00002ECE */
label00002EBA:
00002EBA 48C6 ext.l D6
00002EBC 2006 move.l D0, D6
00002EBE 7230 moveq.l D1, 0x30
00002EC0 D081 add.l D0, D1
00002EC2 5214 addq.b [A4], 1
00002EC4 7400 moveq.l D2, 0x00
00002EC6 1414 move.b D2, [A4]
00002EC8 1980 2000 move.b [A4 + D2.w], D0
00002ECC 7801 moveq.l D4, 0x01
label00002ECE:
00002ECE 3007 move.w D0, D7
00002ED0 48C0 ext.l D0
00002ED2 81FC 000A divs.w D0, 0xA /* '\n' */
00002ED6 3E00 move.w D7, D0
00002ED8 B647 cmp.w D3, D7
00002EDA 6DC2 blt -0x3C /* 00002E9E */
00002EDC 4CEE 10F8 FFE8 movem.l D3,D4,D5,D6,D7,A4, [A6 - 0x18]
00002EE2 4E5E unlink A6
00002EE4 4E75 rts
fn00002EE6:
00002EE6 4E56 FFFC link A6, -0x0004
00002EEA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002EEE 598F subq.l A7, 4
00002EF0 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00002EF6 3F3C 03E8 move.w -[A7], 0x3E8
00002EFA A9A0 syscall GetResource
00002EFC 265F movea.l A3, [A7]+
00002EFE 200B move.l D0, A3
00002F00 6700 0098 beq +0x9A /* 00002F9A */
00002F04 2853 movea.l A4, [A3]
00002F06 3A1C move.w D5, [A4]+
00002F08 6000 0086 bra +0x88 /* 00002F90 */
label00002F0C:
00002F0C 1C1C move.b D6, [A4]+
00002F0E 4207 clr.b D7
00002F10 266E 0008 movea.l A3, [A6 + 0x8]
00002F14 524B addq.w A3, 1
00002F16 6016 bra +0x18 /* 00002F2E */
label00002F18:
00002F18 206E 0008 movea.l A0, [A6 + 0x8]
00002F1C BE10 cmp.b D7, [A0]
00002F1E 6218 bhi +0x1A /* 00002F38 */
00002F20 1014 move.b D0, [A4]
00002F22 B013 cmp.b D0, [A3]
00002F24 6612 bne +0x14 /* 00002F38 */
00002F26 524B addq.w A3, 1
00002F28 524C addq.w A4, 1
00002F2A 1007 move.b D0, D7
00002F2C 5207 addq.b D7, 1
label00002F2E:
00002F2E 7000 moveq.l D0, 0x00
00002F30 1014 move.b D0, [A4]
00002F32 0C40 002C cmpi.w D0, 0x2C /* ',' */
00002F36 66E0 bne -0x1E /* 00002F18 */
label00002F38:
00002F38 7000 moveq.l D0, 0x00
00002F3A 1014 move.b D0, [A4]
00002F3C 0C40 002C cmpi.w D0, 0x2C /* ',' */
00002F40 6642 bne +0x44 /* 00002F84 */
00002F42 206E 0008 movea.l A0, [A6 + 0x8]
00002F46 BE10 cmp.b D7, [A0]
00002F48 663A bne +0x3C /* 00002F84 */
00002F4A 524C addq.w A4, 1
00002F4C 2D6E 000C FFFC move.l [A6 - 0x4], [A6 + 0xC]
00002F52 7000 moveq.l D0, 0x00
00002F54 1006 move.b D0, D6
00002F56 7200 moveq.l D1, 0x00
00002F58 1207 move.b D1, D7
00002F5A 9041 sub.w D0, D1
00002F5C 5340 subq.w D0, 1
00002F5E 1E00 move.b D7, D0
00002F60 202E FFFC move.l D0, [A6 - 0x4]
00002F64 52AE FFFC addq.l [A6 - 0x4], 1
00002F68 2040 movea.l A0, D0
00002F6A 1087 move.b [A0], D7
00002F6C 600A bra +0xC /* 00002F78 */
label00002F6E:
00002F6E 206E FFFC movea.l A0, [A6 - 0x4]
00002F72 52AE FFFC addq.l [A6 - 0x4], 1
00002F76 109C move.b [A0], [A4]+
label00002F78:
00002F78 1007 move.b D0, D7
00002F7A 5307 subq.b D7, 1
00002F7C 4A00 tst.b D0
00002F7E 66EE bne -0x10 /* 00002F6E */
00002F80 7001 moveq.l D0, 0x01
00002F82 6018 bra +0x1A /* 00002F9C */
label00002F84:
00002F84 7000 moveq.l D0, 0x00
00002F86 1006 move.b D0, D6
00002F88 7200 moveq.l D1, 0x00
00002F8A 1207 move.b D1, D7
00002F8C 9041 sub.w D0, D1
00002F8E D8C0 add.w A4, D0
label00002F90:
00002F90 3005 move.w D0, D5
00002F92 5345 subq.w D5, 1
00002F94 4A40 tst.w D0
00002F96 6600 FF74 bne -0x8A /* 00002F0C */
label00002F9A:
00002F9A 7000 moveq.l D0, 0x00
label00002F9C:
00002F9C 4CEE 18E0 FFE8 movem.l D5,D6,D7,A3,A4, [A6 - 0x18]
00002FA2 4E5E unlink A6
00002FA4 4E75 rts
export_51:
fn00002FA6:
00002FA6 4E56 FCFC link A6, -0x0304
00002FAA 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002FAE 3C2E 000A move.w D6, [A6 + 0xA]
00002FB2 47EE FE00 lea.l A3, [A6 - 0x200]
00002FB6 49EE FF00 lea.l A4, [A6 - 0x100]
00002FBA A850 syscall InitCursor
00002FBC 422E FD00 clr.b [A6 - 0x300]
00002FC0 4213 clr.b [A3]
00002FC2 4214 clr.b [A4]
00002FC4 0C46 FF94 cmpi.w D6, 0xFF94
00002FC8 6604 bne +0x6 /* 00002FCE */
00002FCA 7E03 moveq.l D7, 0x03
00002FCC 6002 bra +0x4 /* 00002FD0 */
label00002FCE:
00002FCE 7E02 moveq.l D7, 0x02
label00002FD0:
00002FD0 486E FD00 pea.l [A6 - 0x300]
00002FD4 3F3C 03E9 move.w -[A7], 0x3E9
00002FD8 3F07 move.w -[A7], D7
00002FDA 4EBA 2C04 jsr [PC + 0x2C04 /* 00005BE0 */]
00002FDE 2F0B move.l -[A7], A3
00002FE0 48C6 ext.l D6
00002FE2 2F06 move.l -[A7], D6
00002FE4 4EBA FE88 jsr [PC - 0x178 /* 00002E6E */]
00002FE8 598F subq.l A7, 4
00002FEA 2F3C 4D45 4343 move.l -[A7], 0x4D454343 /* 'MECC' */
00002FF0 7002 moveq.l D0, 0x02
00002FF2 3F00 move.w -[A7], D0
00002FF4 A9A0 syscall GetResource
00002FF6 2D5F FCFC move.l [A6 - 0x304], [A7]+
00002FFA 504F addq.w A7, 8
00002FFC 670C beq +0xE /* 0000300A */
00002FFE 206E FCFC movea.l A0, [A6 - 0x304]
00003002 2F10 move.l -[A7], [A0]
00003004 2F0C move.l -[A7], A4
00003006 4EBA D40A jsr [PC - 0x2BF6 /* 00000412 */]
label0000300A:
0000300A 486E FD00 pea.l [A6 - 0x300]
0000300E 2F0B move.l -[A7], A3
00003010 2F2E 000C move.l -[A7], [A6 + 0xC]
00003014 2F0C move.l -[A7], A4
00003016 A98B syscall ParamText
00003018 4878 03E8 push.l 0x3E8
0000301C 4EBA D596 jsr [PC - 0x2A6A /* 000005B4 */]
00003020 4EBA E0DA jsr [PC - 0x1F26 /* 000010FC */]
00003024 A9F4 syscall ExitToShell
00003026 584F addq.w A7, 4
00003028 4CEE 18C0 FCEC movem.l D6,D7,A3,A4, [A6 - 0x314]
0000302E 4E5E unlink A6
00003030 4E75 rts
fn00003032:
00003032 4E56 FD00 link A6, -0x0300
00003036 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000303A 1C2E 000F move.b D6, [A6 + 0xF]
0000303E 3E2E 000A move.w D7, [A6 + 0xA]
00003042 47EE FF00 lea.l A3, [A6 - 0x100]
00003046 422E FD00 clr.b [A6 - 0x300]
0000304A 422E FE00 clr.b [A6 - 0x200]
0000304E 486E FE00 pea.l [A6 - 0x200]
00003052 48C7 ext.l D7
00003054 2F07 move.l -[A7], D7
00003056 4EBA FE16 jsr [PC - 0x1EA /* 00002E6E */]
0000305A 486E FD00 pea.l [A6 - 0x300]
0000305E 486E FE00 pea.l [A6 - 0x200]
00003062 4EBA FE82 jsr [PC - 0x17E /* 00002EE6 */]
00003066 4A00 tst.b D0
00003068 4FEF 0010 lea.l A7, [A7 + 0x10]
0000306C 660E bne +0x10 /* 0000307C */
0000306E 486D E162 pea.l [A5 - 0x1E9E]
00003072 48C7 ext.l D7
00003074 2F07 move.l -[A7], D7
00003076 4EBA FF2E jsr [PC - 0xD2 /* 00002FA6 */]
0000307A 504F addq.w A7, 8
label0000307C:
0000307C 4A06 tst.b D6
0000307E 6710 beq +0x12 /* 00003090 */
00003080 2F0B move.l -[A7], A3
00003082 3F3C 03E8 move.w -[A7], 0x3E8
00003086 700E moveq.l D0, 0x0E
00003088 3F00 move.w -[A7], D0
0000308A 4EBA 2B54 jsr [PC + 0x2B54 /* 00005BE0 */]
0000308E 600E bra +0x10 /* 0000309E */
label00003090:
00003090 2F0B move.l -[A7], A3
00003092 3F3C 03E8 move.w -[A7], 0x3E8
00003096 700F moveq.l D0, 0x0F
00003098 3F00 move.w -[A7], D0
0000309A 4EBA 2B44 jsr [PC + 0x2B44 /* 00005BE0 */]
label0000309E:
0000309E 486E FD00 pea.l [A6 - 0x300]
000030A2 2F0B move.l -[A7], A3
000030A4 7000 moveq.l D0, 0x00
000030A6 2F00 move.l -[A7], D0
000030A8 2F00 move.l -[A7], D0
000030AA A98B syscall ParamText
000030AC 598F subq.l A7, 4
000030AE 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
000030B4 3F3C 03E9 move.w -[A7], 0x3E9
000030B8 A9A0 syscall GetResource
000030BA 285F movea.l A4, [A7]+
000030BC 200C move.l D0, A4
000030BE 6614 bne +0x16 /* 000030D4 */
000030C0 486D E16E pea.l [A5 - 0x1E92]
000030C4 558F subq.l A7, 2
000030C6 A9AF syscall ResError
000030C8 301F move.w D0, [A7]+
000030CA 48C0 ext.l D0
000030CC 2F00 move.l -[A7], D0
000030CE 4EBA FED6 jsr [PC - 0x12A /* 00002FA6 */]
000030D2 504F addq.w A7, 8
label000030D4:
000030D4 204C movea.l A0, A4
000030D6 A029 syscall HLock
000030D8 2654 movea.l A3, [A4]
000030DA 2F0B move.l -[A7], A3
000030DC 4EBA D542 jsr [PC - 0x2ABE /* 00000620 */]
000030E0 204C movea.l A0, A4
000030E2 A02A syscall HUnlock
000030E4 558F subq.l A7, 2
000030E6 3F3C 03E9 move.w -[A7], 0x3E9
000030EA 7000 moveq.l D0, 0x00
000030EC 2F00 move.l -[A7], D0
000030EE A986 syscall StopAlert
000030F0 4A06 tst.b D6
000030F2 5C4F addq.w A7, 6
000030F4 6706 beq +0x8 /* 000030FC */
000030F6 4EBA E004 jsr [PC - 0x1FFC /* 000010FC */]
000030FA A9F4 syscall ExitToShell
label000030FC:
000030FC 4CEE 18C0 FCF0 movem.l D6,D7,A3,A4, [A6 - 0x310]
00003102 4E5E unlink A6
00003104 4E75 rts
fn00003106:
00003106 4E56 0000 link A6, 0
0000310A 48E7 1118 movem.l -[A7], D3,D7,A3,A4
0000310E 47ED EEAE lea.l A3, [A5 - 0x1152]
00003112 49EB 012C lea.l A4, [A3 + 0x12C]
00003116 7E0F moveq.l D7, 0x0F
00003118 7600 moveq.l D3, 0x00
label0000311A:
0000311A 70FF moveq.l D0, 0xFFFFFFFF
0000311C B054 cmp.w D0, [A4]
0000311E 6706 beq +0x8 /* 00003126 */
00003120 3B47 F00E move.w [A5 - 0xFF2], D7
00003124 600C bra +0xE /* 00003132 */
label00003126:
00003126 3007 move.w D0, D7
00003128 5347 subq.w D7, 1
0000312A 49EC FFEC lea.l A4, [A4 - 0x14]
0000312E B647 cmp.w D3, D7
00003130 6DE8 blt -0x16 /* 0000311A */
label00003132:
00003132 4CEE 1888 FFF0 movem.l D3,D7,A3,A4, [A6 - 0x10]
00003138 4E5E unlink A6
0000313A 4E75 rts
fn0000313C:
0000313C 4E56 0000 link A6, 0
00003140 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00003144 47ED EFF8 lea.l A3, [A5 - 0x1008]
00003148 3A2E 000A move.w D5, [A6 + 0xA]
0000314C CA6D F010 and.w D5, [A5 - 0xFF0]
00003150 49ED EEAE lea.l A4, [A5 - 0x1152]
00003154 4246 clr.w D6
00003156 6000 0088 bra +0x8A /* 000031E0 */
label0000315A:
0000315A 4207 clr.b D7
0000315C 4A54 tst.w [A4]
0000315E 6D78 blt +0x7A /* 000031D8 */
00003160 3005 move.w D0, D5
00003162 C06C 0006 and.w D0, [A4 + 0x6]
00003166 6770 beq +0x72 /* 000031D8 */
00003168 302C 0006 move.w D0, [A4 + 0x6]
0000316C 5340 subq.w D0, 1
0000316E 6712 beq +0x14 /* 00003182 */
00003170 5340 subq.w D0, 1
00003172 671E beq +0x20 /* 00003192 */
00003174 5540 subq.w D0, 2
00003176 671A beq +0x1C /* 00003192 */
00003178 5940 subq.w D0, 4
0000317A 6716 beq +0x18 /* 00003192 */
0000317C 5140 subq.w D0, 8
0000317E 6726 beq +0x28 /* 000031A6 */
00003180 6028 bra +0x2A /* 000031AA */
label00003182:
00003182 302C 000A move.w D0, [A4 + 0xA]
00003186 D040 add.w D0, D0
00003188 4A73 0000 tst.w [A3 + D0.w]
0000318C 672C beq +0x2E /* 000031BA */
0000318E 7E01 moveq.l D7, 0x01
00003190 6028 bra +0x2A /* 000031BA */
label00003192:
00003192 53AC 000C subq.l [A4 + 0xC], 1
00003196 4AAC 000C tst.l [A4 + 0xC]
0000319A 6E1E bgt +0x20 /* 000031BA */
0000319C 296C 0008 000C move.l [A4 + 0xC], [A4 + 0x8]
000031A2 7E01 moveq.l D7, 0x01
000031A4 6014 bra +0x16 /* 000031BA */
label000031A6:
000031A6 7E01 moveq.l D7, 0x01
000031A8 6010 bra +0x12 /* 000031BA */
label000031AA:
000031AA 486D EE5A pea.l [A5 - 0x11A6]
000031AE 2F3C FFFF FC18 move.l -[A7], 0xFFFFFC18
000031B4 4EBA FDF0 jsr [PC - 0x210 /* 00002FA6 */]
000031B8 504F addq.w A7, 8
label000031BA:
000031BA 4A07 tst.b D7
000031BC 671A beq +0x1C /* 000031D8 */
000031BE 3B54 F016 move.w [A5 - 0xFEA], [A4]
000031C2 302C 0004 move.w D0, [A4 + 0x4]
000031C6 48C0 ext.l D0
000031C8 2F00 move.l -[A7], D0
000031CA 302C 0002 move.w D0, [A4 + 0x2]
000031CE 48C0 ext.l D0
000031D0 2F00 move.l -[A7], D0
000031D2 4EBA F83C jsr [PC - 0x7C4 /* 00002A10 */]
000031D6 504F addq.w A7, 8
label000031D8:
000031D8 49EC 0014 lea.l A4, [A4 + 0x14]
000031DC 3006 move.w D0, D6
000031DE 5246 addq.w D6, 1
label000031E0:
000031E0 BC6D F00E cmp.w D6, [A5 - 0xFF2]
000031E4 6F00 FF74 ble -0x8A /* 0000315A */
000031E8 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
000031EE 4E5E unlink A6
000031F0 4E75 rts
fn000031F2:
000031F2 4E56 0000 link A6, 0
000031F6 48E7 1318 movem.l -[A7], D3,D6,D7,A3,A4
000031FA 47ED EEAE lea.l A3, [A5 - 0x1152]
000031FE 3C2E 000A move.w D6, [A6 + 0xA]
00003202 6604 bne +0x6 /* 00003208 */
00003204 3C2D F016 move.w D6, [A5 - 0xFEA]
label00003208:
00003208 49D3 lea.l A4, [A3]
0000320A 4247 clr.w D7
0000320C 7610 moveq.l D3, 0x10
label0000320E:
0000320E BC54 cmp.w D6, [A4]
00003210 6604 bne +0x6 /* 00003216 */
00003212 200C move.l D0, A4
00003214 601E bra +0x20 /* 00003234 */
label00003216:
00003216 49EC 0014 lea.l A4, [A4 + 0x14]
0000321A 3007 move.w D0, D7
0000321C 5247 addq.w D7, 1
0000321E B647 cmp.w D3, D7
00003220 6EEC bgt -0x12 /* 0000320E */
00003222 486D EE62 pea.l [A5 - 0x119E]
00003226 2F3C FFFF FC18 move.l -[A7], 0xFFFFFC18
0000322C 4EBA FD78 jsr [PC - 0x288 /* 00002FA6 */]
00003230 7000 moveq.l D0, 0x00
00003232 504F addq.w A7, 8
label00003234:
00003234 4CEE 18C8 FFEC movem.l D3,D6,D7,A3,A4, [A6 - 0x14]
0000323A 4E5E unlink A6
0000323C 4E75 rts
export_52:
fn0000323E:
0000323E 4E56 0000 link A6, 0
00003242 2F0C move.l -[A7], A4
00003244 302E 0008 move.w D0, [A6 + 0x8]
00003248 48C0 ext.l D0
0000324A 2F00 move.l -[A7], D0
0000324C 4EBA 00CC jsr [PC + 0xCC /* 0000331A */]
00003250 4A00 tst.b D0
00003252 584F addq.w A7, 4
00003254 6712 beq +0x14 /* 00003268 */
00003256 486D EE6C pea.l [A5 - 0x1194]
0000325A 2F3C FFFF FC18 move.l -[A7], 0xFFFFFC18
00003260 4EBA FD44 jsr [PC - 0x2BC /* 00002FA6 */]
00003264 504F addq.w A7, 8
00003266 604C bra +0x4E /* 000032B4 */
label00003268:
00003268 70FF moveq.l D0, 0xFFFFFFFF
0000326A 2F00 move.l -[A7], D0
0000326C 4EBA 00AC jsr [PC + 0xAC /* 0000331A */]
00003270 4A00 tst.b D0
00003272 584F addq.w A7, 4
00003274 6612 bne +0x14 /* 00003288 */
00003276 486D EE76 pea.l [A5 - 0x118A]
0000327A 2F3C FFFF FC18 move.l -[A7], 0xFFFFFC18
00003280 4EBA FD24 jsr [PC - 0x2DC /* 00002FA6 */]
00003284 504F addq.w A7, 8
00003286 602C bra +0x2E /* 000032B4 */
label00003288:
00003288 70FF moveq.l D0, 0xFFFFFFFF
0000328A 2F00 move.l -[A7], D0
0000328C 4EBA FF64 jsr [PC - 0x9C /* 000031F2 */]
00003290 2840 movea.l A4, D0
00003292 41EE 0008 lea.l A0, [A6 + 0x8]
00003296 224C movea.l A1, A4
00003298 7004 moveq.l D0, 0x04
label0000329A:
0000329A 22D8 move.l [A1]+, [A0]+
0000329C 51C8 FFFC dbf D0, -0x6 /* 0000329A */
000032A0 4EBA FE64 jsr [PC - 0x19C /* 00003106 */]
000032A4 7001 moveq.l D0, 0x01
000032A6 B06E 000E cmp.w D0, [A6 + 0xE]
000032AA 584F addq.w A7, 4
000032AC 6606 bne +0x8 /* 000032B4 */
000032AE 3B7C 0001 F014 move.w [A5 - 0xFEC], 0x1
label000032B4:
000032B4 286E FFFC movea.l A4, [A6 - 0x4]
000032B8 4E5E unlink A6
000032BA 4E75 rts
export_53:
fn000032BC:
000032BC 4E56 0000 link A6, 0
000032C0 48E7 0018 movem.l -[A7], A3,A4
000032C4 47ED EFF8 lea.l A3, [A5 - 0x1008]
000032C8 49ED EFEE lea.l A4, [A5 - 0x1012]
000032CC 302D F012 move.w D0, [A5 - 0xFEE]
000032D0 48C0 ext.l D0
000032D2 5280 addq.l D0, 1
000032D4 322D F00C move.w D1, [A5 - 0xFF4]
000032D8 48C1 ext.l D1
000032DA B081 cmp.l D0, D1
000032DC 6732 beq +0x34 /* 00003310 */
000032DE 7009 moveq.l D0, 0x09
000032E0 B06D F012 cmp.w D0, [A5 - 0xFEE]
000032E4 6606 bne +0x8 /* 000032EC */
000032E6 4A6D F00C tst.w [A5 - 0xFF4]
000032EA 6724 beq +0x26 /* 00003310 */
label000032EC:
000032EC 302D F012 move.w D0, [A5 - 0xFEE]
000032F0 526D F012 addq.w [A5 - 0xFEE], 1
000032F4 19AE 000B 0000 move.b [A4 + D0.w], [A6 + 0xB]
000032FA 700A moveq.l D0, 0x0A
000032FC B06D F012 cmp.w D0, [A5 - 0xFEE]
00003300 6E04 bgt +0x6 /* 00003306 */
00003302 426D F012 clr.w [A5 - 0xFEE]
label00003306:
00003306 526B 0002 addq.w [A3 + 0x2], 1
0000330A 3B7C 0001 F014 move.w [A5 - 0xFEC], 0x1
label00003310:
00003310 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00003316 4E5E unlink A6
00003318 4E75 rts
export_54:
fn0000331A:
0000331A 4E56 0000 link A6, 0
0000331E 48E7 1318 movem.l -[A7], D3,D6,D7,A3,A4
00003322 47ED EEAE lea.l A3, [A5 - 0x1152]
00003326 3C2E 000A move.w D6, [A6 + 0xA]
0000332A 6604 bne +0x6 /* 00003330 */
0000332C 3C2D F016 move.w D6, [A5 - 0xFEA]
label00003330:
00003330 49D3 lea.l A4, [A3]
00003332 4247 clr.w D7
00003334 7610 moveq.l D3, 0x10
label00003336:
00003336 BC54 cmp.w D6, [A4]
00003338 6604 bne +0x6 /* 0000333E */
0000333A 7001 moveq.l D0, 0x01
0000333C 600E bra +0x10 /* 0000334C */
label0000333E:
0000333E 49EC 0014 lea.l A4, [A4 + 0x14]
00003342 3007 move.w D0, D7
00003344 5247 addq.w D7, 1
00003346 B647 cmp.w D3, D7
00003348 6EEC bgt -0x12 /* 00003336 */
0000334A 7000 moveq.l D0, 0x00
label0000334C:
0000334C 4CEE 18C8 FFEC movem.l D3,D6,D7,A3,A4, [A6 - 0x14]
00003352 4E5E unlink A6
00003354 4E75 rts
fn00003356:
00003356 4E56 0000 link A6, 0
0000335A 48E7 1108 movem.l -[A7], D3,D7,A4
0000335E 49ED EFF8 lea.l A4, [A5 - 0x1008]
00003362 4247 clr.w D7
00003364 760A moveq.l D3, 0x0A
label00003366:
00003366 3007 move.w D0, D7
00003368 5247 addq.w D7, 1
0000336A D040 add.w D0, D0
0000336C 4274 0000 clr.w [A4 + D0.w]
00003370 B647 cmp.w D3, D7
00003372 6EF2 bgt -0xC /* 00003366 */
00003374 4CEE 1088 FFF4 movem.l D3,D7,A4, [A6 - 0xC]
0000337A 4E5E unlink A6
0000337C 4E75 rts
export_55:
fn0000337E:
0000337E 4E56 0000 link A6, 0
00003382 2F0C move.l -[A7], A4
00003384 49ED EFF8 lea.l A4, [A5 - 0x1008]
00003388 426D F00C clr.w [A5 - 0xFF4]
0000338C 426D F012 clr.w [A5 - 0xFEE]
00003390 426C 0002 clr.w [A4 + 0x2]
00003394 286E FFFC movea.l A4, [A6 - 0x4]
00003398 4E5E unlink A6
0000339A 4E75 rts
export_56:
0000339C 4E56 0000 link A6, 0
000033A0 2F0C move.l -[A7], A4
000033A2 302E 000A move.w D0, [A6 + 0xA]
000033A6 48C0 ext.l D0
000033A8 2F00 move.l -[A7], D0
000033AA 4EBA FE46 jsr [PC - 0x1BA /* 000031F2 */]
000033AE 2840 movea.l A4, D0
000033B0 38BC FFFF move.w [A4], 0xFFFF
000033B4 4EBA FD50 jsr [PC - 0x2B0 /* 00003106 */]
000033B8 286E FFFC movea.l A4, [A6 - 0x4]
000033BC 4E5E unlink A6
000033BE 4E75 rts
export_57:
000033C0 4E56 0000 link A6, 0
000033C4 302E 000E move.w D0, [A6 + 0xE]
000033C8 48C0 ext.l D0
000033CA 2F00 move.l -[A7], D0
000033CC 4EBA FE24 jsr [PC - 0x1DC /* 000031F2 */]
000033D0 2040 movea.l A0, D0
000033D2 226E 0008 movea.l A1, [A6 + 0x8]
000033D6 7004 moveq.l D0, 0x04
label000033D8:
000033D8 22D8 move.l [A1]+, [A0]+
000033DA 51C8 FFFC dbf D0, -0x6 /* 000033D8 */
000033DE 4E5E unlink A6
000033E0 4E75 rts
export_58:
000033E2 4E56 0000 link A6, 0
000033E6 302D F016 move.w D0, [A5 - 0xFEA]
000033EA 4E5E unlink A6
000033EC 4E75 rts
export_59:
000033EE 4E56 0000 link A6, 0
000033F2 48E7 0118 movem.l -[A7], D7,A3,A4
000033F6 47ED EFF8 lea.l A3, [A5 - 0x1008]
000033FA 49ED EFEE lea.l A4, [A5 - 0x1012]
000033FE 4207 clr.b D7
00003400 302D F012 move.w D0, [A5 - 0xFEE]
00003404 B06D F00C cmp.w D0, [A5 - 0xFF4]
00003408 6724 beq +0x26 /* 0000342E */
0000340A 302D F00C move.w D0, [A5 - 0xFF4]
0000340E 526D F00C addq.w [A5 - 0xFF4], 1
00003412 1E34 0000 move.b D7, [A4 + D0.w]
00003416 700A moveq.l D0, 0x0A
00003418 B06D F00C cmp.w D0, [A5 - 0xFF4]
0000341C 6E04 bgt +0x6 /* 00003422 */
0000341E 426D F00C clr.w [A5 - 0xFF4]
label00003422:
00003422 536B 0002 subq.w [A3 + 0x2], 1
00003426 6706 beq +0x8 /* 0000342E */
00003428 3B7C 0001 F014 move.w [A5 - 0xFEC], 0x1
label0000342E:
0000342E 1007 move.b D0, D7
00003430 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00003436 4E5E unlink A6
00003438 4E75 rts
export_60:
0000343A 4E56 0000 link A6, 0
0000343E 302E 000A move.w D0, [A6 + 0xA]
00003442 48C0 ext.l D0
00003444 2F00 move.l -[A7], D0
00003446 4EBA FDAA jsr [PC - 0x256 /* 000031F2 */]
0000344A 2040 movea.l A0, D0
0000344C 2028 0010 move.l D0, [A0 + 0x10]
00003450 4E5E unlink A6
00003452 4E75 rts
export_61:
fn00003454:
00003454 4E56 0000 link A6, 0
00003458 302E 000A move.w D0, [A6 + 0xA]
0000345C 48C0 ext.l D0
0000345E 2F00 move.l -[A7], D0
00003460 4EBA FD90 jsr [PC - 0x270 /* 000031F2 */]
00003464 2040 movea.l A0, D0
00003466 3028 0004 move.w D0, [A0 + 0x4]
0000346A 4E5E unlink A6
0000346C 4E75 rts
export_62:
0000346E 4E56 0000 link A6, 0
00003472 2F0C move.l -[A7], A4
00003474 49ED EFEE lea.l A4, [A5 - 0x1012]
00003478 302D F012 move.w D0, [A5 - 0xFEE]
0000347C B06D F00C cmp.w D0, [A5 - 0xFF4]
00003480 670A beq +0xC /* 0000348C */
00003482 302D F00C move.w D0, [A5 - 0xFF4]
00003486 1034 0000 move.b D0, [A4 + D0.w]
0000348A 6002 bra +0x4 /* 0000348E */
label0000348C:
0000348C 7000 moveq.l D0, 0x00
label0000348E:
0000348E 286E FFFC movea.l A4, [A6 - 0x4]
00003492 4E5E unlink A6
00003494 4E75 rts
export_63:
00003496 4E56 0000 link A6, 0
0000349A 2F0C move.l -[A7], A4
0000349C 302E 000A move.w D0, [A6 + 0xA]
000034A0 48C0 ext.l D0
000034A2 2F00 move.l -[A7], D0
000034A4 4EBA FD4C jsr [PC - 0x2B4 /* 000031F2 */]
000034A8 2840 movea.l A4, D0
000034AA 296E 000C 0008 move.l [A4 + 0x8], [A6 + 0xC]
000034B0 286E FFFC movea.l A4, [A6 - 0x4]
000034B4 4E5E unlink A6
000034B6 4E75 rts
export_64:
000034B8 4E56 0000 link A6, 0
000034BC 2F0C move.l -[A7], A4
000034BE 302E 000A move.w D0, [A6 + 0xA]
000034C2 48C0 ext.l D0
000034C4 2F00 move.l -[A7], D0
000034C6 4EBA FD2A jsr [PC - 0x2D6 /* 000031F2 */]
000034CA 2840 movea.l A4, D0
000034CC 296E 000C 000C move.l [A4 + 0xC], [A6 + 0xC]
000034D2 286E FFFC movea.l A4, [A6 - 0x4]
000034D6 4E5E unlink A6
000034D8 4E75 rts
export_65:
fn000034DA:
000034DA 4E56 0000 link A6, 0
000034DE 48E7 0308 movem.l -[A7], D6,D7,A4
000034E2 49ED EFF8 lea.l A4, [A5 - 0x1008]
000034E6 3C2E 000E move.w D6, [A6 + 0xE]
000034EA 3E2E 000A move.w D7, [A6 + 0xA]
000034EE 6D18 blt +0x1A /* 00003508 */
000034F0 0C47 000A cmpi.w D7, 0xA /* '\n' */
000034F4 6C12 bge +0x14 /* 00003508 */
000034F6 2007 move.l D0, D7
000034F8 D040 add.w D0, D0
000034FA 3986 0000 move.w [A4 + D0.w], D6
000034FE 6718 beq +0x1A /* 00003518 */
00003500 3B7C 0001 F014 move.w [A5 - 0xFEC], 0x1
00003506 6010 bra +0x12 /* 00003518 */
label00003508:
00003508 486D EE80 pea.l [A5 - 0x1180]
0000350C 2F3C FFFF FC18 move.l -[A7], 0xFFFFFC18
00003512 4EBA FA92 jsr [PC - 0x56E /* 00002FA6 */]
00003516 504F addq.w A7, 8
label00003518:
00003518 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
0000351E 4E5E unlink A6
00003520 4E75 rts
export_66:
00003522 4E56 0000 link A6, 0
00003526 2F0C move.l -[A7], A4
00003528 302E 0008 move.w D0, [A6 + 0x8]
0000352C 48C0 ext.l D0
0000352E 2F00 move.l -[A7], D0
00003530 4EBA FDE8 jsr [PC - 0x218 /* 0000331A */]
00003534 4A00 tst.b D0
00003536 584F addq.w A7, 4
00003538 6612 bne +0x14 /* 0000354C */
0000353A 486D EE8A pea.l [A5 - 0x1176]
0000353E 2F3C FFFF FC18 move.l -[A7], 0xFFFFFC18
00003544 4EBA FA60 jsr [PC - 0x5A0 /* 00002FA6 */]
00003548 504F addq.w A7, 8
0000354A 601E bra +0x20 /* 0000356A */
label0000354C:
0000354C 302E 0008 move.w D0, [A6 + 0x8]
00003550 48C0 ext.l D0
00003552 2F00 move.l -[A7], D0
00003554 4EBA FC9C jsr [PC - 0x364 /* 000031F2 */]
00003558 2840 movea.l A4, D0
0000355A 41EE 0008 lea.l A0, [A6 + 0x8]
0000355E 224C movea.l A1, A4
00003560 7004 moveq.l D0, 0x04
label00003562:
00003562 22D8 move.l [A1]+, [A0]+
00003564 51C8 FFFC dbf D0, -0x6 /* 00003562 */
00003568 584F addq.w A7, 4
label0000356A:
0000356A 286E FFFC movea.l A4, [A6 - 0x4]
0000356E 4E5E unlink A6
00003570 4E75 rts
export_67:
00003572 4E56 0000 link A6, 0
00003576 3B6E 000A F010 move.w [A5 - 0xFF0], [A6 + 0xA]
0000357C 4E5E unlink A6
0000357E 4E75 rts
fn00003580:
00003580 4E56 0000 link A6, 0
00003584 3B6E 000A F01C move.w [A5 - 0xFE4], [A6 + 0xA]
0000358A 4E5E unlink A6
0000358C 4E75 rts
fn0000358E:
0000358E 4E56 0000 link A6, 0
00003592 3B6E 000A F01A move.w [A5 - 0xFE6], [A6 + 0xA]
00003598 4E5E unlink A6
0000359A 4E75 rts
export_68:
0000359C 4E56 0000 link A6, 0
000035A0 2F0C move.l -[A7], A4
000035A2 302E 000A move.w D0, [A6 + 0xA]
000035A6 48C0 ext.l D0
000035A8 2F00 move.l -[A7], D0
000035AA 4EBA FC46 jsr [PC - 0x3BA /* 000031F2 */]
000035AE 2840 movea.l A4, D0
000035B0 296E 000C 0010 move.l [A4 + 0x10], [A6 + 0xC]
000035B6 286E FFFC movea.l A4, [A6 - 0x4]
000035BA 4E5E unlink A6
000035BC 4E75 rts
export_69:
fn000035BE:
000035BE 4E56 0000 link A6, 0
000035C2 2F0C move.l -[A7], A4
000035C4 302E 000A move.w D0, [A6 + 0xA]
000035C8 48C0 ext.l D0
000035CA 2F00 move.l -[A7], D0
000035CC 4EBA FC24 jsr [PC - 0x3DC /* 000031F2 */]
000035D0 2840 movea.l A4, D0
000035D2 396E 000E 0004 move.w [A4 + 0x4], [A6 + 0xE]
000035D8 286E FFFC movea.l A4, [A6 - 0x4]
000035DC 4E5E unlink A6
000035DE 4E75 rts
export_70:
000035E0 4E56 0000 link A6, 0
000035E4 2F0C move.l -[A7], A4
000035E6 302E 000A move.w D0, [A6 + 0xA]
000035EA 48C0 ext.l D0
000035EC 2F00 move.l -[A7], D0
000035EE 4EBA FC02 jsr [PC - 0x3FE /* 000031F2 */]
000035F2 2840 movea.l A4, D0
000035F4 302E 000E move.w D0, [A6 + 0xE]
000035F8 48C0 ext.l D0
000035FA 2940 000C move.l [A4 + 0xC], D0
000035FE 2940 0008 move.l [A4 + 0x8], D0
00003602 286E FFFC movea.l A4, [A6 - 0x4]
00003606 4E5E unlink A6
00003608 4E75 rts
export_71:
0000360A 4E56 0000 link A6, 0
0000360E 48E7 0108 movem.l -[A7], D7,A4
00003612 3E2E 000E move.w D7, [A6 + 0xE]
00003616 302E 000A move.w D0, [A6 + 0xA]
0000361A 48C0 ext.l D0
0000361C 2F00 move.l -[A7], D0
0000361E 4EBA FBD2 jsr [PC - 0x42E /* 000031F2 */]
00003622 2840 movea.l A4, D0
00003624 3947 0006 move.w [A4 + 0x6], D7
00003628 0C47 0001 cmpi.w D7, 0x1
0000362C 6606 bne +0x8 /* 00003634 */
0000362E 3B7C 0001 F014 move.w [A5 - 0xFEC], 0x1
label00003634:
00003634 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
0000363A 4E5E unlink A6
0000363C 4E75 rts
fn0000363E:
0000363E 4E56 0000 link A6, 0
00003642 48E7 0300 movem.l -[A7], D6,D7
00003646 4247 clr.w D7
00003648 4A2D F018 tst.b [A5 - 0xFE8]
0000364C 6700 00AE beq +0xB0 /* 000036FC */
00003650 598F subq.l A7, 4
00003652 A975 syscall TickCount
00003654 201F move.l D0, [A7]+
00003656 E288 lsr D0, 1
00003658 2C00 move.l D6, D0
0000365A 202D EEAA move.l D0, [A5 - 0x1156]
0000365E 52AD EEAA addq.l [A5 - 0x1156], 1
00003662 4AAD EE92 tst.l [A5 - 0x116E]
00003666 6608 bne +0xA /* 00003670 */
00003668 2B46 EE92 move.l [A5 - 0x116E], D6
0000366C 2B46 EE9A move.l [A5 - 0x1166], D6
label00003670:
00003670 7010 moveq.l D0, 0x10
00003672 C06D F010 and.w D0, [A5 - 0xFF0]
00003676 6704 beq +0x6 /* 0000367C */
00003678 0647 0010 addi.w D7, 0x10
label0000367C:
0000367C 4A6D F014 tst.w [A5 - 0xFEC]
00003680 6706 beq +0x8 /* 00003688 */
00003682 5247 addq.w D7, 1
00003684 426D F014 clr.w [A5 - 0xFEC]
label00003688:
00003688 BCAD EE92 cmp.l D6, [A5 - 0x116E]
0000368C 6360 bls +0x62 /* 000036EE */
0000368E 202D EE92 move.l D0, [A5 - 0x116E]
00003692 5280 addq.l D0, 1
00003694 B086 cmp.l D0, D6
00003696 6C14 bge +0x16 /* 000036AC */
00003698 202D EEA2 move.l D0, [A5 - 0x115E]
0000369C 52AD EEA2 addq.l [A5 - 0x115E], 1
000036A0 2006 move.l D0, D6
000036A2 90AD EE92 sub.l D0, [A5 - 0x116E]
000036A6 5380 subq.l D0, 1
000036A8 D1AD EEA6 add.l [A5 - 0x115A], D0
label000036AC:
000036AC 2B46 EE92 move.l [A5 - 0x116E], D6
000036B0 202D EE96 move.l D0, [A5 - 0x116A]
000036B4 52AD EE96 addq.l [A5 - 0x116A], 1
000036B8 5447 addq.w D7, 2
000036BA 701E moveq.l D0, 0x1E
000036BC B0AD EE96 cmp.l D0, [A5 - 0x116A]
000036C0 622C bhi +0x2E /* 000036EE */
000036C2 5847 addq.w D7, 4
000036C4 202D EE9E move.l D0, [A5 - 0x1162]
000036C8 52AD EE9E addq.l [A5 - 0x1162], 1
000036CC 7000 moveq.l D0, 0x00
000036CE 2B40 EE96 move.l [A5 - 0x116A], D0
000036D2 723C moveq.l D1, 0x3C
000036D4 B2AD EE9E cmp.l D1, [A5 - 0x1162]
000036D8 6E14 bgt +0x16 /* 000036EE */
000036DA 5047 addq.w D7, 8
000036DC 7000 moveq.l D0, 0x00
000036DE 2B40 EE9E move.l [A5 - 0x1162], D0
000036E2 2B40 EEA2 move.l [A5 - 0x115E], D0
000036E6 2B40 EEA6 move.l [A5 - 0x115A], D0
000036EA 2B40 EEAA move.l [A5 - 0x1156], D0
label000036EE:
000036EE 4A47 tst.w D7
000036F0 670A beq +0xC /* 000036FC */
000036F2 48C7 ext.l D7
000036F4 2F07 move.l -[A7], D7
000036F6 4EBA FA44 jsr [PC - 0x5BC /* 0000313C */]
000036FA 584F addq.w A7, 4
label000036FC:
000036FC 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
00003702 4E5E unlink A6
00003704 4E75 rts
fn00003706:
00003706 4E56 0000 link A6, 0
0000370A 48E7 1118 movem.l -[A7], D3,D7,A3,A4
0000370E 47ED EEAE lea.l A3, [A5 - 0x1152]
00003712 1B7C 0001 F018 move.b [A5 - 0xFE8], 0x1
00003718 3B7C FFFF F01C move.w [A5 - 0xFE4], 0xFFFF
0000371E 3B7C FFFF F01A move.w [A5 - 0xFE6], 0xFFFF
00003724 4EBA FC58 jsr [PC - 0x3A8 /* 0000337E */]
00003728 4EBA FC2C jsr [PC - 0x3D4 /* 00003356 */]
0000372C 3B7C FFFF F010 move.w [A5 - 0xFF0], 0xFFFF
00003732 3B7C 0001 F014 move.w [A5 - 0xFEC], 0x1
00003738 49D3 lea.l A4, [A3]
0000373A 4247 clr.w D7
0000373C 7610 moveq.l D3, 0x10
label0000373E:
0000373E 38BC FFFF move.w [A4], 0xFFFF
00003742 49EC 0014 lea.l A4, [A4 + 0x14]
00003746 3007 move.w D0, D7
00003748 5247 addq.w D7, 1
0000374A B647 cmp.w D3, D7
0000374C 6EF0 bgt -0xE /* 0000373E */
0000374E 4CEE 1888 FFF0 movem.l D3,D7,A3,A4, [A6 - 0x10]
00003754 4E5E unlink A6
00003756 4E75 rts
export_72:
fn00003758:
00003758 4E56 0000 link A6, 0
0000375C 7000 moveq.l D0, 0x00
0000375E 4AAE 0008 tst.l [A6 + 0x8]
00003762 56C0 sne D0
00003764 4400 neg.b D0
00003766 1B40 F018 move.b [A5 - 0xFE8], D0
0000376A 4E5E unlink A6
0000376C 4E75 rts
fn0000376E:
0000376E 4E56 0000 link A6, 0
00003772 486D 06F2 pea.l [A5 + 0x6F2 /* export_218 */]
00003776 A9F1 syscall UnloadSeg
00003778 A063 syscall MaxApplZone
0000377A 4EAD 0492 jsr [A5 + 0x492 /* export_142 */]
0000377E 4EAD 063A jsr [A5 + 0x63A /* export_195 */]
00003782 4EAD 057A jsr [A5 + 0x57A /* export_171 */]
00003786 4EAD 05CA jsr [A5 + 0x5CA /* export_181 */]
0000378A 486D 05CA pea.l [A5 + 0x5CA /* export_181 */]
0000378E A9F1 syscall UnloadSeg
00003790 4EAD 05AA jsr [A5 + 0x5AA /* export_177 */]
00003794 4EBA FF70 jsr [PC - 0x90 /* 00003706 */]
00003798 41ED FDA0 lea.l A0, [A5 - 0x260]
0000379C 7009 moveq.l D0, 0x09
label0000379E:
0000379E 3F20 move.w -[A7], -[A0]
000037A0 51C8 FFFC dbf D0, -0x6 /* 0000379E */
000037A4 4EBA FA98 jsr [PC - 0x568 /* 0000323E */]
000037A8 4A6D FDA4 tst.w [A5 - 0x25C]
000037AC 4FEF 0014 lea.l A7, [A7 + 0x14]
000037B0 6704 beq +0x6 /* 000037B6 */
000037B2 4EBA 1504 jsr [PC + 0x1504 /* 00004CB8 */]
label000037B6:
000037B6 4EBA 083C jsr [PC + 0x83C /* 00003FF4 */]
000037BA 4E5E unlink A6
000037BC 4E75 rts
fn000037BE:
000037BE 4E56 0000 link A6, 0
000037C2 2F07 move.l -[A7], D7
000037C4 3E2E 000A move.w D7, [A6 + 0xA]
000037C8 0C47 0001 cmpi.w D7, 0x1
000037CC 6604 bne +0x6 /* 000037D2 */
000037CE 7E02 moveq.l D7, 0x02
000037D0 6002 bra +0x4 /* 000037D4 */
label000037D2:
000037D2 7E01 moveq.l D7, 0x01
label000037D4:
000037D4 422D DBD4 clr.b [A5 - 0x242C]
000037D8 48C7 ext.l D7
000037DA 2F07 move.l -[A7], D7
000037DC 7064 moveq.l D0, 0x64
000037DE 2F00 move.l -[A7], D0
000037E0 4EBA FDDC jsr [PC - 0x224 /* 000035BE */]
000037E4 7001 moveq.l D0, 0x01
000037E6 2F00 move.l -[A7], D0
000037E8 7202 moveq.l D1, 0x02
000037EA 2F01 move.l -[A7], D1
000037EC 4EBA FCEC jsr [PC - 0x314 /* 000034DA */]
000037F0 2E2E FFFC move.l D7, [A6 - 0x4]
000037F4 4E5E unlink A6
000037F6 4E75 rts
fn000037F8:
000037F8 4E56 0000 link A6, 0
000037FC 70FF moveq.l D0, 0xFFFFFFFF
000037FE 2F00 move.l -[A7], D0
00003800 4EAD 0452 jsr [A5 + 0x452 /* export_134 */]
00003804 4EAD 045A jsr [A5 + 0x45A /* export_135 */]
00003808 206D DCD6 movea.l A0, [A5 - 0x232A]
0000380C 4868 0010 pea.l [A0 + 0x10]
00003810 A92A syscall ValidRect
00003812 2F2D DCD6 move.l -[A7], [A5 - 0x232A]
00003816 A969 syscall DrawControls
00003818 2F2D DCAA move.l -[A7], [A5 - 0x2356]
0000381C 4EBA CCA0 jsr [PC - 0x3360 /* 000004BE */]
00003820 4E5E unlink A6
00003822 4E75 rts
fn00003824:
00003824 4E56 FFF8 link A6, -0x0008
00003828 48E7 0118 movem.l -[A7], D7,A3,A4
0000382C 266E 0008 movea.l A3, [A6 + 0x8]
00003830 286E 000C movea.l A4, [A6 + 0xC]
00003834 598F subq.l A7, 4
00003836 A924 syscall FrontWindow
00003838 B9DF cmpa.l A4, [A7]+
0000383A 6708 beq +0xA /* 00003844 */
0000383C 2F0C move.l -[A7], A4
0000383E A91F syscall SelectWindow
00003840 6000 00AE bra +0xB0 /* 000038F0 */
label00003844:
00003844 2F0C move.l -[A7], A4
00003846 A873 syscall SetPort
00003848 2D6B 000A FFFC move.l [A6 - 0x4], [A3 + 0xA]
0000384E 486E FFFC pea.l [A6 - 0x4]
00003852 A871 syscall GlobalToLocal
00003854 558F subq.l A7, 2
00003856 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000385A 2F0C move.l -[A7], A4
0000385C 486E FFF8 pea.l [A6 - 0x8]
00003860 A96C syscall FindControl
00003862 3E1F move.w D7, [A7]+
00003864 6618 bne +0x1A /* 0000387E */
00003866 0C6E 011E FFFC cmpi.w [A6 - 0x4], 0x11E
0000386C 6E00 0082 bgt +0x84 /* 000038F0 */
00003870 2F2B 000A move.l -[A7], [A3 + 0xA]
00003874 2F0C move.l -[A7], A4
00003876 4EBA F3D8 jsr [PC - 0xC28 /* 00002C50 */]
0000387A 504F addq.w A7, 8
0000387C 6072 bra +0x74 /* 000038F0 */
label0000387E:
0000387E 558F subq.l A7, 2
00003880 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003884 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003888 7000 moveq.l D0, 0x00
0000388A 2F00 move.l -[A7], D0
0000388C A968 syscall TrackControl
0000388E 4A5F tst.w [A7]+
00003890 675E beq +0x60 /* 000038F0 */
00003892 202E FFF8 move.l D0, [A6 - 0x8]
00003896 B0AD DCA2 cmp.l D0, [A5 - 0x235E]
0000389A 670A beq +0xC /* 000038A6 */
0000389C 202E FFF8 move.l D0, [A6 - 0x8]
000038A0 B0AD DCB2 cmp.l D0, [A5 - 0x234E]
000038A4 660C bne +0xE /* 000038B2 */
label000038A6:
000038A6 4A2D DDF2 tst.b [A5 - 0x220E]
000038AA 6606 bne +0x8 /* 000038B2 */
000038AC 4EBA 1386 jsr [PC + 0x1386 /* 00004C34 */]
000038B0 603E bra +0x40 /* 000038F0 */
label000038B2:
000038B2 202E FFF8 move.l D0, [A6 - 0x8]
000038B6 B0AD DCAA cmp.l D0, [A5 - 0x2356]
000038BA 6606 bne +0x8 /* 000038C2 */
000038BC 4EBA 0CA8 jsr [PC + 0xCA8 /* 00004566 */]
000038C0 602E bra +0x30 /* 000038F0 */
label000038C2:
000038C2 202E FFF8 move.l D0, [A6 - 0x8]
000038C6 B0AD DCA6 cmp.l D0, [A5 - 0x235A]
000038CA 6610 bne +0x12 /* 000038DC */
000038CC 4EBA 0C98 jsr [PC + 0xC98 /* 00004566 */]
000038D0 1B7C 0001 DC9A move.b [A5 - 0x2366], 0x1
000038D6 422D DBD4 clr.b [A5 - 0x242C]
000038DA 6014 bra +0x16 /* 000038F0 */
label000038DC:
000038DC 202E FFF8 move.l D0, [A6 - 0x8]
000038E0 B0AD DCAE cmp.l D0, [A5 - 0x2352]
000038E4 660A bne +0xC /* 000038F0 */
000038E6 4EAD 06E2 jsr [A5 + 0x6E2 /* export_216 */]
000038EA 486D 06E2 pea.l [A5 + 0x6E2 /* export_216 */]
000038EE A9F1 syscall UnloadSeg
label000038F0:
000038F0 4CEE 1880 FFEC movem.l D7,A3,A4, [A6 - 0x14]
000038F6 4E5E unlink A6
000038F8 4E75 rts
fn000038FA:
000038FA 4E56 0000 link A6, 0
000038FE 598F subq.l A7, 4
00003900 3F2E 000A move.w -[A7], [A6 + 0xA]
00003904 A949 syscall GetMenuHandle
00003906 7000 moveq.l D0, 0x00
00003908 3F00 move.w -[A7], D0
0000390A A93A syscall DisableItem
0000390C 4E5E unlink A6
0000390E 4E75 rts
fn00003910:
00003910 4E56 0000 link A6, 0
00003914 48E7 1308 movem.l -[A7], D3,D6,D7,A4
00003918 1C2E 000F move.b D6, [A6 + 0xF]
0000391C 202E 0008 move.l D0, [A6 + 0x8]
00003920 B0AD DCD6 cmp.l D0, [A5 - 0x232A]
00003924 6600 00C4 bne +0xC6 /* 000039EA */
00003928 598F subq.l A7, 4
0000392A 3F3C 03E9 move.w -[A7], 0x3E9
0000392E A949 syscall GetMenuHandle
00003930 285F movea.l A4, [A7]+
00003932 4A06 tst.b D6
00003934 675C beq +0x5E /* 00003992 */
00003936 4A2D FD8A tst.b [A5 - 0x276]
0000393A 6756 beq +0x58 /* 00003992 */
0000393C 422D FD8A clr.b [A5 - 0x276]
00003940 7064 moveq.l D0, 0x64
00003942 2F00 move.l -[A7], D0
00003944 4EBA FB0E jsr [PC - 0x4F2 /* 00003454 */]
00003948 3E00 move.w D7, D0
0000394A 0C47 0004 cmpi.w D7, 0x4
0000394E 584F addq.w A7, 4
00003950 670C beq +0xE /* 0000395E */
00003952 0C47 0006 cmpi.w D7, 0x6
00003956 6706 beq +0x8 /* 0000395E */
00003958 0C47 0005 cmpi.w D7, 0x5
0000395C 660A bne +0xC /* 00003968 */
label0000395E:
0000395E 2F0C move.l -[A7], A4
00003960 7001 moveq.l D0, 0x01
00003962 3F00 move.w -[A7], D0
00003964 A939 syscall EnableItem
00003966 6008 bra +0xA /* 00003970 */
label00003968:
00003968 2F0C move.l -[A7], A4
0000396A 7001 moveq.l D0, 0x01
0000396C 3F00 move.w -[A7], D0
0000396E A93A syscall DisableItem
label00003970:
00003970 4878 03EA push.l 0x3EA
00003974 4EBA FF84 jsr [PC - 0x7C /* 000038FA */]
00003978 4878 03EB push.l 0x3EB
0000397C 4EBA 0660 jsr [PC + 0x660 /* 00003FDE */]
00003980 4878 03EC push.l 0x3EC
00003984 4EBA 0658 jsr [PC + 0x658 /* 00003FDE */]
00003988 A937 syscall DrawMenuBar
0000398A A850 syscall InitCursor
0000398C 4FEF 000C lea.l A7, [A7 + 0xC]
00003990 603E bra +0x40 /* 000039D0 */
label00003992:
00003992 4A06 tst.b D6
00003994 663A bne +0x3C /* 000039D0 */
00003996 4A2D FD8A tst.b [A5 - 0x276]
0000399A 6634 bne +0x36 /* 000039D0 */
0000399C 1B7C 0001 FD8A move.b [A5 - 0x276], 0x1
000039A2 2F0C move.l -[A7], A4
000039A4 7001 moveq.l D0, 0x01
000039A6 3F00 move.w -[A7], D0
000039A8 A93A syscall DisableItem
000039AA 4878 03EA push.l 0x3EA
000039AE 4EBA 062E jsr [PC + 0x62E /* 00003FDE */]
000039B2 4878 03EB push.l 0x3EB
000039B6 4EBA FF42 jsr [PC - 0xBE /* 000038FA */]
000039BA 4878 03EC push.l 0x3EC
000039BE 4EBA FF3A jsr [PC - 0xC6 /* 000038FA */]
000039C2 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
000039C6 4EAD 059A jsr [A5 + 0x59A /* export_175 */]
000039CA A937 syscall DrawMenuBar
000039CC 4FEF 000C lea.l A7, [A7 + 0xC]
label000039D0:
000039D0 7600 moveq.l D3, 0x00
000039D2 4A06 tst.b D6
000039D4 6708 beq +0xA /* 000039DE */
000039D6 4A2D DB94 tst.b [A5 - 0x246C]
000039DA 6602 bne +0x4 /* 000039DE */
000039DC 7601 moveq.l D3, 0x01
label000039DE:
000039DE 4883 ext.w D3
000039E0 48C3 ext.l D3
000039E2 2F03 move.l -[A7], D3
000039E4 4EBA FD72 jsr [PC - 0x28E /* 00003758 */]
000039E8 584F addq.w A7, 4
label000039EA:
000039EA 4CEE 10C8 FFF0 movem.l D3,D6,D7,A4, [A6 - 0x10]
000039F0 4E5E unlink A6
000039F2 4E75 rts
fn000039F4:
000039F4 4E56 0000 link A6, 0
000039F8 2F0C move.l -[A7], A4
000039FA 286E 0008 movea.l A4, [A6 + 0x8]
000039FE B9ED DCD6 cmpa.l A4, [A5 - 0x232A]
00003A02 6606 bne +0x8 /* 00003A0A */
00003A04 2F0C move.l -[A7], A4
00003A06 A92D syscall CloseWindow
00003A08 6012 bra +0x14 /* 00003A1C */
label00003A0A:
00003A0A 2F0C move.l -[A7], A4
00003A0C 4EBA 08B2 jsr [PC + 0x8B2 /* 000042C0 */]
00003A10 4A00 tst.b D0
00003A12 584F addq.w A7, 4
00003A14 6706 beq +0x8 /* 00003A1C */
00003A16 3F2C 006C move.w -[A7], [A4 + 0x6C]
00003A1A A9B7 syscall CloseDeskAcc
label00003A1C:
00003A1C 286E FFFC movea.l A4, [A6 - 0x4]
00003A20 4E5E unlink A6
00003A22 4E75 rts
fn00003A24:
00003A24 4E56 FCFE link A6, -0x0302
00003A28 48E7 0118 movem.l -[A7], D7,A3,A4
00003A2C 486E FD00 pea.l [A6 - 0x300]
00003A30 3F3C 0839 move.w -[A7], 0x839
00003A34 7001 moveq.l D0, 0x01
00003A36 3F00 move.w -[A7], D0
00003A38 4EBA 21A6 jsr [PC + 0x21A6 /* 00005BE0 */]
00003A3C 598F subq.l A7, 4
00003A3E 2F3C 4D45 4343 move.l -[A7], 0x4D454343 /* 'MECC' */
00003A44 7000 moveq.l D0, 0x00
00003A46 3F00 move.w -[A7], D0
00003A48 A9A0 syscall GetResource
00003A4A 285F movea.l A4, [A7]+
00003A4C 200C move.l D0, A4
00003A4E 6618 bne +0x1A /* 00003A68 */
00003A50 486D FCFE pea.l [A5 - 0x302]
00003A54 558F subq.l A7, 2
00003A56 A9AF syscall ResError
00003A58 301F move.w D0, [A7]+
00003A5A 48C0 ext.l D0
00003A5C 2F00 move.l -[A7], D0
00003A5E 4EBA F546 jsr [PC - 0xABA /* 00002FA6 */]
00003A62 504F addq.w A7, 8
00003A64 6000 0084 bra +0x86 /* 00003AEA */
label00003A68:
00003A68 2054 movea.l A0, [A4]
00003A6A 4868 0010 pea.l [A0 + 0x10]
00003A6E 486E FE00 pea.l [A6 - 0x200]
00003A72 4EBA C99E jsr [PC - 0x3662 /* 00000412 */]
00003A76 2F0C move.l -[A7], A4
00003A78 A9A3 syscall ReleaseResource
00003A7A 558F subq.l A7, 2
00003A7C A9AF syscall ResError
00003A7E 3E1F move.w D7, [A7]+
00003A80 670E beq +0x10 /* 00003A90 */
00003A82 486D FD1C pea.l [A5 - 0x2E4]
00003A86 48C7 ext.l D7
00003A88 2F07 move.l -[A7], D7
00003A8A 4EBA F51A jsr [PC - 0xAE6 /* 00002FA6 */]
00003A8E 504F addq.w A7, 8
label00003A90:
00003A90 204C movea.l A0, A4
00003A92 A023 syscall DisposHandle/DisposeHandle
00003A94 486E FF00 pea.l [A6 - 0x100]
00003A98 3F3C 0839 move.w -[A7], 0x839
00003A9C 7002 moveq.l D0, 0x02
00003A9E 3F00 move.w -[A7], D0
00003AA0 4EBA 213E jsr [PC + 0x213E /* 00005BE0 */]
00003AA4 486E FD00 pea.l [A6 - 0x300]
00003AA8 486E FE00 pea.l [A6 - 0x200]
00003AAC 486E FF00 pea.l [A6 - 0x100]
00003AB0 7000 moveq.l D0, 0x00
00003AB2 2F00 move.l -[A7], D0
00003AB4 A98B syscall ParamText
00003AB6 4878 0839 push.l 0x839
00003ABA 4EBA D15E jsr [PC - 0x2EA2 /* 00000C1A */]
00003ABE 2640 movea.l A3, D0
00003AC0 7003 moveq.l D0, 0x03
00003AC2 2F00 move.l -[A7], D0
00003AC4 7202 moveq.l D1, 0x02
00003AC6 2F01 move.l -[A7], D1
00003AC8 2F0B move.l -[A7], A3
00003ACA 4EBA D02E jsr [PC - 0x2FD2 /* 00000AFA */]
00003ACE 7000 moveq.l D0, 0x00
00003AD0 2F00 move.l -[A7], D0
00003AD2 486E FCFE pea.l [A6 - 0x302]
00003AD6 A991 syscall ModalDialog
00003AD8 2F0B move.l -[A7], A3
00003ADA A983 syscall DisposeDialog
00003ADC 1B7C 0001 DC9C move.b [A5 - 0x2364], 0x1
00003AE2 422D FDA0 clr.b [A5 - 0x260]
00003AE6 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003AEA:
00003AEA 4CEE 1880 FCF2 movem.l D7,A3,A4, [A6 - 0x30E]
00003AF0 4E5E unlink A6
00003AF2 4E75 rts
export_73:
fn00003AF4:
00003AF4 4E56 0000 link A6, 0
00003AF8 4EBA FB44 jsr [PC - 0x4BC /* 0000363E */]
00003AFC 4EBA C88E jsr [PC - 0x3772 /* 0000038C */]
00003B00 4EBA D28E jsr [PC - 0x2D72 /* 00000D90 */]
00003B04 4E5E unlink A6
00003B06 4E75 rts
fn00003B08:
00003B08 4E56 FFF8 link A6, -0x0008
00003B0C 48E7 0308 movem.l -[A7], D6,D7,A4
00003B10 286E 0008 movea.l A4, [A6 + 0x8]
00003B14 3014 move.w D0, [A4]
00003B16 5340 subq.w D0, 1
00003B18 672E beq +0x30 /* 00003B48 */
00003B1A 5540 subq.w D0, 2
00003B1C 6700 00D0 beq +0xD2 /* 00003BEE */
00003B20 5540 subq.w D0, 2
00003B22 6700 00BE beq +0xC0 /* 00003BE2 */
00003B26 5340 subq.w D0, 1
00003B28 6700 01C4 beq +0x1C6 /* 00003CEE */
00003B2C 5340 subq.w D0, 1
00003B2E 6700 01F6 beq +0x1F8 /* 00003D26 */
00003B32 5340 subq.w D0, 1
00003B34 6700 0196 beq +0x198 /* 00003CCC */
00003B38 5F40 subq.w D0, 7
00003B3A 6700 01BE beq +0x1C0 /* 00003CFA */
00003B3E 5140 subq.w D0, 8
00003B40 6700 020C beq +0x20E /* 00003D4E */
00003B44 6000 021C bra +0x21E /* 00003D62 */
label00003B48:
00003B48 7064 moveq.l D0, 0x64
00003B4A 2F00 move.l -[A7], D0
00003B4C 4EBA F906 jsr [PC - 0x6FA /* 00003454 */]
00003B50 0C40 0006 cmpi.w D0, 0x6
00003B54 584F addq.w A7, 4
00003B56 6612 bne +0x14 /* 00003B6A */
00003B58 2F2C 000A move.l -[A7], [A4 + 0xA]
00003B5C 598F subq.l A7, 4
00003B5E A924 syscall FrontWindow
00003B60 4EBA F0EE jsr [PC - 0xF12 /* 00002C50 */]
00003B64 504F addq.w A7, 8
00003B66 6000 01FA bra +0x1FC /* 00003D62 */
label00003B6A:
00003B6A 558F subq.l A7, 2
00003B6C 2F2C 000A move.l -[A7], [A4 + 0xA]
00003B70 486E FFFC pea.l [A6 - 0x4]
00003B74 A92C syscall FindWindow
00003B76 3C1F move.w D6, [A7]+
00003B78 3006 move.w D0, D6
00003B7A 5340 subq.w D0, 1
00003B7C 6B00 01E4 bmi +0x1E6 /* 00003D62 */
00003B80 0C40 0003 cmpi.w D0, 0x3
00003B84 6E00 01DC bgt +0x1DE /* 00003D62 */
00003B88 D040 add.w D0, D0
00003B8A 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003B8E 4EFB 0000 jmp [PC + D0.w]
00003B92 000A 0024 ori.b A2, 0x24 /* '$' */
00003B96 0030 0040 302C ori.b [A0 + D3.w + 0x2C], 0x40 /* '@' */
00003B9C 000E 48C0 ori.b A6, 0xC0
00003BA0 2F00 move.l -[A7], D0
00003BA2 598F subq.l A7, 4
00003BA4 2F2C 000A move.l -[A7], [A4 + 0xA]
00003BA8 A93D syscall MenuSelect
00003BAA 4EBA 01C0 jsr [PC + 0x1C0 /* 00003D6C */]
00003BAE 504F addq.w A7, 8
00003BB0 6000 01B0 bra +0x1B2 /* 00003D62 */
00003BB4 2F0C move.l -[A7], A4
00003BB6 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003BBA A9B3 syscall SystemClick
00003BBC 6000 01A4 bra +0x1A6 /* 00003D62 */
00003BC0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003BC4 2F0C move.l -[A7], A4
00003BC6 4EBA FC5C jsr [PC - 0x3A4 /* 00003824 */]
00003BCA 504F addq.w A7, 8
00003BCC 6000 0194 bra +0x196 /* 00003D62 */
00003BD0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003BD4 2F2C 000A move.l -[A7], [A4 + 0xA]
00003BD8 486D FE0A pea.l [A5 - 0x1F6]
00003BDC A925 syscall DragWindow
00003BDE 6000 0182 bra +0x184 /* 00003D62 */
label00003BE2:
00003BE2 303C 0100 move.w D0, 0x100
00003BE6 C06C 000E and.w D0, [A4 + 0xE]
00003BEA 6600 0176 bne +0x178 /* 00003D62 */
label00003BEE:
00003BEE 2C3C 0000 00FF move.l D6, 0xFF
00003BF4 CCAC 0002 and.l D6, [A4 + 0x2]
00003BF8 303C 0100 move.w D0, 0x100
00003BFC C06C 000E and.w D0, [A4 + 0xE]
00003C00 671A beq +0x1C /* 00003C1C */
00003C02 302C 000E move.w D0, [A4 + 0xE]
00003C06 48C0 ext.l D0
00003C08 2F00 move.l -[A7], D0
00003C0A 598F subq.l A7, 4
00003C0C 4886 ext.w D6
00003C0E 3F06 move.w -[A7], D6
00003C10 A93E syscall MenuKey
00003C12 4EBA 0158 jsr [PC + 0x158 /* 00003D6C */]
00003C16 504F addq.w A7, 8
00003C18 6000 0148 bra +0x14A /* 00003D62 */
label00003C1C:
00003C1C 7064 moveq.l D0, 0x64
00003C1E 2F00 move.l -[A7], D0
00003C20 4EBA F832 jsr [PC - 0x7CE /* 00003454 */]
00003C24 3E00 move.w D7, D0
00003C26 0C47 0006 cmpi.w D7, 0x6
00003C2A 584F addq.w A7, 4
00003C2C 6618 bne +0x1A /* 00003C46 */
00003C2E 302C 000E move.w D0, [A4 + 0xE]
00003C32 48C0 ext.l D0
00003C34 2F00 move.l -[A7], D0
00003C36 4886 ext.w D6
00003C38 48C6 ext.l D6
00003C3A 2F06 move.l -[A7], D6
00003C3C 4EBA EEBA jsr [PC - 0x1146 /* 00002AF8 */]
00003C40 504F addq.w A7, 8
00003C42 6000 011E bra +0x120 /* 00003D62 */
label00003C46:
00003C46 4A2D DDF2 tst.b [A5 - 0x220E]
00003C4A 6702 beq +0x4 /* 00003C4E */
00003C4C 7C56 moveq.l D6, 0x56
label00003C4E:
00003C4E 0C06 000D cmpi.b D6, 0xD /* '\r' */
00003C52 6706 beq +0x8 /* 00003C5A */
00003C54 0C06 0003 cmpi.b D6, 0x3
00003C58 665A bne +0x5C /* 00003CB4 */
label00003C5A:
00003C5A 0C47 0004 cmpi.w D7, 0x4
00003C5E 6706 beq +0x8 /* 00003C66 */
00003C60 0C47 0005 cmpi.w D7, 0x5
00003C64 662A bne +0x2C /* 00003C90 */
label00003C66:
00003C66 4A2D DDF2 tst.b [A5 - 0x220E]
00003C6A 6624 bne +0x26 /* 00003C90 */
00003C6C 4A2D DB94 tst.b [A5 - 0x246C]
00003C70 660C bne +0xE /* 00003C7E */
00003C72 2F2D DCA2 move.l -[A7], [A5 - 0x235E]
00003C76 4EBA 03C0 jsr [PC + 0x3C0 /* 00004038 */]
00003C7A 584F addq.w A7, 4
00003C7C 600A bra +0xC /* 00003C88 */
label00003C7E:
00003C7E 2F2D DCB2 move.l -[A7], [A5 - 0x234E]
00003C82 4EBA 03B4 jsr [PC + 0x3B4 /* 00004038 */]
00003C86 584F addq.w A7, 4
label00003C88:
00003C88 4EBA 0FAA jsr [PC + 0xFAA /* 00004C34 */]
00003C8C 6000 00D4 bra +0xD6 /* 00003D62 */
label00003C90:
00003C90 0C47 0001 cmpi.w D7, 0x1
00003C94 670C beq +0xE /* 00003CA2 */
00003C96 0C47 0002 cmpi.w D7, 0x2
00003C9A 6706 beq +0x8 /* 00003CA2 */
00003C9C 0C47 0003 cmpi.w D7, 0x3
00003CA0 6612 bne +0x14 /* 00003CB4 */
label00003CA2:
00003CA2 2F2D DCAA move.l -[A7], [A5 - 0x2356]
00003CA6 4EBA 0390 jsr [PC + 0x390 /* 00004038 */]
00003CAA 4EBA 08BA jsr [PC + 0x8BA /* 00004566 */]
00003CAE 584F addq.w A7, 4
00003CB0 6000 00B0 bra +0xB2 /* 00003D62 */
label00003CB4:
00003CB4 302C 000E move.w D0, [A4 + 0xE]
00003CB8 48C0 ext.l D0
00003CBA 2F00 move.l -[A7], D0
00003CBC 4886 ext.w D6
00003CBE 48C6 ext.l D6
00003CC0 2F06 move.l -[A7], D6
00003CC2 4EBA EE34 jsr [PC - 0x11CC /* 00002AF8 */]
00003CC6 504F addq.w A7, 8
00003CC8 6000 0098 bra +0x9A /* 00003D62 */
label00003CCC:
00003CCC 7001 moveq.l D0, 0x01
00003CCE C06C 000E and.w D0, [A4 + 0xE]
00003CD2 7200 moveq.l D1, 0x00
00003CD4 3200 move.w D1, D0
00003CD6 4A81 tst.l D1
00003CD8 56C0 sne D0
00003CDA 4400 neg.b D0
00003CDC 4880 ext.w D0
00003CDE 48C0 ext.l D0
00003CE0 2F00 move.l -[A7], D0
00003CE2 2F2C 0002 move.l -[A7], [A4 + 0x2]
00003CE6 4EBA FC28 jsr [PC - 0x3D8 /* 00003910 */]
00003CEA 504F addq.w A7, 8
00003CEC 6074 bra +0x76 /* 00003D62 */
label00003CEE:
00003CEE 2F2C 0002 move.l -[A7], [A4 + 0x2]
00003CF2 4EBA 01C2 jsr [PC + 0x1C2 /* 00003EB6 */]
00003CF6 584F addq.w A7, 4
00003CF8 6068 bra +0x6A /* 00003D62 */
label00003CFA:
00003CFA 202C 0002 move.l D0, [A4 + 0x2]
00003CFE 4840 swap.w D0
00003D00 48C0 ext.l D0
00003D02 E040 asr D0.w, 8
00003D04 7201 moveq.l D1, 0x01
00003D06 B280 cmp.l D1, D0
00003D08 6658 bne +0x5A /* 00003D62 */
00003D0A 7001 moveq.l D0, 0x01
00003D0C C0AC 0002 and.l D0, [A4 + 0x2]
00003D10 56C0 sne D0
00003D12 4400 neg.b D0
00003D14 4880 ext.w D0
00003D16 48C0 ext.l D0
00003D18 2F00 move.l -[A7], D0
00003D1A 598F subq.l A7, 4
00003D1C A924 syscall FrontWindow
00003D1E 4EBA FBF0 jsr [PC - 0x410 /* 00003910 */]
00003D22 504F addq.w A7, 8
00003D24 603C bra +0x3E /* 00003D62 */
label00003D26:
00003D26 202C 0002 move.l D0, [A4 + 0x2]
00003D2A 4840 swap.w D0
00003D2C 48C0 ext.l D0
00003D2E 6732 beq +0x34 /* 00003D62 */
00003D30 3D7C 0070 FFFA move.w [A6 - 0x6], 0x70 /* 'p' */
00003D36 3D7C 0050 FFF8 move.w [A6 - 0x8], 0x50 /* 'P' */
00003D3C 558F subq.l A7, 2
00003D3E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003D42 2F2C 0002 move.l -[A7], [A4 + 0x2]
00003D46 4EBA 2260 jsr [PC + 0x2260 /* 00005FA8 */]
00003D4A 544F addq.w A7, 2
00003D4C 6014 bra +0x16 /* 00003D62 */
label00003D4E:
00003D4E 41EC 0010 lea.l A0, [A4 + 0x10]
00003D52 7007 moveq.l D0, 0x07
label00003D54:
00003D54 3F20 move.w -[A7], -[A0]
00003D56 51C8 FFFC dbf D0, -0x6 /* 00003D54 */
00003D5A 4EBA 10AE jsr [PC + 0x10AE /* 00004E0A */]
00003D5E 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003D62:
00003D62 4CEE 10C0 FFEC movem.l D6,D7,A4, [A6 - 0x14]
00003D68 4E5E unlink A6
00003D6A 4E75 rts
fn00003D6C:
00003D6C 4E56 FF00 link A6, -0x0100
00003D70 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00003D74 49EE FF00 lea.l A4, [A6 - 0x100]
00003D78 2C2E 0008 move.l D6, [A6 + 0x8]
00003D7C 558F subq.l A7, 2
00003D7E 2F06 move.l -[A7], D6
00003D80 A86A syscall HiWord
00003D82 3A1F move.w D5, [A7]+
00003D84 558F subq.l A7, 2
00003D86 2F06 move.l -[A7], D6
00003D88 A86B syscall LoWord
00003D8A 3E1F move.w D7, [A7]+
00003D8C 3005 move.w D0, D5
00003D8E 0440 03E8 subi.w D0, 0x3E8
00003D92 6B00 0112 bmi +0x114 /* 00003EA6 */
00003D96 0C40 0004 cmpi.w D0, 0x4
00003D9A 6E00 010A bgt +0x10C /* 00003EA6 */
00003D9E D040 add.w D0, D0
00003DA0 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003DA4 4EFB 0000 jmp [PC + D0.w]
00003DA8 000C 0044 ori.b A4, 0x44 /* 'D' */
00003DAC 00BC 00CA 00F0 3007 5340 ori.l 0x30075340, 0xCA00F0
00003DB6 6618 bne +0x1A /* 00003DD0 */
00003DB8 302E 000E move.w D0, [A6 + 0xE]
00003DBC 48C0 ext.l D0
00003DBE 2F00 move.l -[A7], D0
00003DC0 4EAD 0682 jsr [A5 + 0x682 /* export_204 */]
00003DC4 486D 0682 pea.l [A5 + 0x682 /* export_204 */]
00003DC8 A9F1 syscall UnloadSeg
00003DCA 584F addq.w A7, 4
00003DCC 6000 00D8 bra +0xDA /* 00003EA6 */
label00003DD0:
00003DD0 598F subq.l A7, 4
00003DD2 3F3C 03E8 move.w -[A7], 0x3E8
00003DD6 A949 syscall GetMenuHandle
00003DD8 3F07 move.w -[A7], D7
00003DDA 2F0C move.l -[A7], A4
00003DDC A946 syscall GetMenuItemText/GetItem
00003DDE 558F subq.l A7, 2
00003DE0 2F0C move.l -[A7], A4
00003DE2 A9B6 syscall OpenDeskAcc
00003DE4 544F addq.w A7, 2
00003DE6 6000 00BE bra +0xC0 /* 00003EA6 */
00003DEA 3007 move.w D0, D7
00003DEC 5340 subq.w D0, 1
00003DEE 6708 beq +0xA /* 00003DF8 */
00003DF0 5540 subq.w D0, 2
00003DF2 6728 beq +0x2A /* 00003E1C */
00003DF4 6000 00B0 bra +0xB2 /* 00003EA6 */
label00003DF8:
00003DF8 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
00003DFC 4EAD 059A jsr [A5 + 0x59A /* export_175 */]
00003E00 4EAD 06B2 jsr [A5 + 0x6B2 /* export_210 */]
00003E04 4A00 tst.b D0
00003E06 670A beq +0xC /* 00003E12 */
00003E08 7001 moveq.l D0, 0x01
00003E0A 2F00 move.l -[A7], D0
00003E0C 4EAD 03F2 jsr [A5 + 0x3F2 /* export_122 */]
00003E10 584F addq.w A7, 4
label00003E12:
00003E12 486D 06B2 pea.l [A5 + 0x6B2 /* export_210 */]
00003E16 A9F1 syscall UnloadSeg
00003E18 6000 008C bra +0x8E /* 00003EA6 */
label00003E1C:
00003E1C 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
00003E20 4EAD 059A jsr [A5 + 0x59A /* export_175 */]
00003E24 7064 moveq.l D0, 0x64
00003E26 2F00 move.l -[A7], D0
00003E28 4EBA F62A jsr [PC - 0x9D6 /* 00003454 */]
00003E2C 3C00 move.w D6, D0
00003E2E 0C46 0004 cmpi.w D6, 0x4
00003E32 584F addq.w A7, 4
00003E34 670C beq +0xE /* 00003E42 */
00003E36 0C46 0006 cmpi.w D6, 0x6
00003E3A 6706 beq +0x8 /* 00003E42 */
00003E3C 0C46 0005 cmpi.w D6, 0x5
00003E40 661A bne +0x1C /* 00003E5C */
label00003E42:
00003E42 4EAD 06C2 jsr [A5 + 0x6C2 /* export_212 */]
00003E46 4A00 tst.b D0
00003E48 6608 bne +0xA /* 00003E52 */
00003E4A 486D 06C2 pea.l [A5 + 0x6C2 /* export_212 */]
00003E4E A9F1 syscall UnloadSeg
00003E50 6054 bra +0x56 /* 00003EA6 */
label00003E52:
00003E52 7001 moveq.l D0, 0x01
00003E54 2F00 move.l -[A7], D0
00003E56 4EAD 06BA jsr [A5 + 0x6BA /* export_211 */]
00003E5A 584F addq.w A7, 4
label00003E5C:
00003E5C 4EBA 0E10 jsr [PC + 0xE10 /* 00004C6E */]
00003E60 6044 bra +0x46 /* 00003EA6 */
00003E62 558F subq.l A7, 2
00003E64 3007 move.w D0, D7
00003E66 5340 subq.w D0, 1
00003E68 3F00 move.w -[A7], D0
00003E6A A9C2 syscall SysEdit
00003E6C 544F addq.w A7, 2
00003E6E 6036 bra +0x38 /* 00003EA6 */
00003E70 0C47 0003 cmpi.w D7, 0x3
00003E74 6604 bne +0x6 /* 00003E7A */
00003E76 4EBA 0770 jsr [PC + 0x770 /* 000045E8 */]
label00003E7A:
00003E7A 0C47 0004 cmpi.w D7, 0x4
00003E7E 6604 bne +0x6 /* 00003E84 */
00003E80 4EAD 03E2 jsr [A5 + 0x3E2 /* export_120 */]
label00003E84:
00003E84 48C7 ext.l D7
00003E86 2F07 move.l -[A7], D7
00003E88 4EAD 06DA jsr [A5 + 0x6DA /* export_215 */]
00003E8C 486D 06DA pea.l [A5 + 0x6DA /* export_215 */]
00003E90 A9F1 syscall UnloadSeg
00003E92 584F addq.w A7, 4
00003E94 6010 bra +0x12 /* 00003EA6 */
00003E96 48C7 ext.l D7
00003E98 2F07 move.l -[A7], D7
00003E9A 4EAD 056A jsr [A5 + 0x56A /* export_169 */]
00003E9E 486D 056A pea.l [A5 + 0x56A /* export_169 */]
00003EA2 A9F1 syscall UnloadSeg
00003EA4 584F addq.w A7, 4
label00003EA6:
00003EA6 7000 moveq.l D0, 0x00
00003EA8 3F00 move.w -[A7], D0
00003EAA A938 syscall HiliteMenu
00003EAC 4CEE 10E0 FEF0 movem.l D5,D6,D7,A4, [A6 - 0x110]
00003EB2 4E5E unlink A6
00003EB4 4E75 rts
fn00003EB6:
00003EB6 4E56 0000 link A6, 0
00003EBA 2F0C move.l -[A7], A4
00003EBC 286E 0008 movea.l A4, [A6 + 0x8]
00003EC0 B9ED DCD6 cmpa.l A4, [A5 - 0x232A]
00003EC4 6600 0110 bne +0x112 /* 00003FD6 */
00003EC8 4EAD 04E2 jsr [A5 + 0x4E2 /* export_152 */]
00003ECC 4EAD 04EA jsr [A5 + 0x4EA /* export_153 */]
00003ED0 2F0C move.l -[A7], A4
00003ED2 A922 syscall BeginUpdate
00003ED4 558F subq.l A7, 2
00003ED6 2F2C 0018 move.l -[A7], [A4 + 0x18]
00003EDA A8E2 syscall EmptyRgn
00003EDC 4A1F tst.b [A7]+
00003EDE 6600 00EE bne +0xF0 /* 00003FCE */
00003EE2 2F0C move.l -[A7], A4
00003EE4 A873 syscall SetPort
00003EE6 7064 moveq.l D0, 0x64
00003EE8 2F00 move.l -[A7], D0
00003EEA 4EBA F568 jsr [PC - 0xA98 /* 00003454 */]
00003EEE 5340 subq.w D0, 1
00003EF0 584F addq.w A7, 4
00003EF2 6B00 00D6 bmi +0xD8 /* 00003FCA */
00003EF6 0C40 0005 cmpi.w D0, 0x5
00003EFA 6E00 00CE bgt +0xD0 /* 00003FCA */
00003EFE D040 add.w D0, D0
00003F00 303B 0006 move.w D0, [PC + D0.w + 0x6]
00003F04 4EFB 0000 jmp [PC + D0.w]
00003F08 0034 000E 0090 ori.b [A4 + D0.w - 0x112], 0xE
00003F0E 000E 000E ori.b A6, 0xE
00003F12 00A6 4EAD 04A2 ori.l -[A6], 0x4EAD04A2
00003F18 4A2D DC9C tst.b [A5 - 0x2364]
00003F1C 670E beq +0x10 /* 00003F2C */
00003F1E 2F2D DCAA move.l -[A7], [A5 - 0x2356]
00003F22 4EBA C59A jsr [PC - 0x3A66 /* 000004BE */]
00003F26 584F addq.w A7, 4
00003F28 6000 00A0 bra +0xA2 /* 00003FCA */
label00003F2C:
00003F2C 2F2D DCA2 move.l -[A7], [A5 - 0x235E]
00003F30 4EBA C58C jsr [PC - 0x3A74 /* 000004BE */]
00003F34 584F addq.w A7, 4
00003F36 6000 0092 bra +0x94 /* 00003FCA */
00003F3A 4A2D DCBE tst.b [A5 - 0x2342]
00003F3E 671A beq +0x1C /* 00003F5A */
00003F40 7005 moveq.l D0, 0x05
00003F42 2F00 move.l -[A7], D0
00003F44 7213 moveq.l D1, 0x13
00003F46 2F01 move.l -[A7], D1
00003F48 7000 moveq.l D0, 0x00
00003F4A 2F00 move.l -[A7], D0
00003F4C 4878 0C1C push.l 0xC1C
00003F50 4EAD 04AA jsr [A5 + 0x4AA /* export_145 */]
00003F54 4FEF 0010 lea.l A7, [A7 + 0x10]
00003F58 6018 bra +0x1A /* 00003F72 */
label00003F5A:
00003F5A 7005 moveq.l D0, 0x05
00003F5C 2F00 move.l -[A7], D0
00003F5E 7213 moveq.l D1, 0x13
00003F60 2F01 move.l -[A7], D1
00003F62 7000 moveq.l D0, 0x00
00003F64 2F00 move.l -[A7], D0
00003F66 4878 0BB8 push.l 0xBB8
00003F6A 4EAD 04AA jsr [A5 + 0x4AA /* export_145 */]
00003F6E 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003F72:
00003F72 2F2D DCAA move.l -[A7], [A5 - 0x2356]
00003F76 4EBA C546 jsr [PC - 0x3ABA /* 000004BE */]
00003F7A 4A2D DCB6 tst.b [A5 - 0x234A]
00003F7E 584F addq.w A7, 4
00003F80 670E beq +0x10 /* 00003F90 */
00003F82 4EAD 04B2 jsr [A5 + 0x4B2 /* export_146 */]
00003F86 4EAD 047A jsr [A5 + 0x47A /* export_139 */]
00003F8A 4EAD 049A jsr [A5 + 0x49A /* export_143 */]
00003F8E 603A bra +0x3C /* 00003FCA */
label00003F90:
00003F90 4EAD 0472 jsr [A5 + 0x472 /* export_138 */]
00003F94 6034 bra +0x36 /* 00003FCA */
00003F96 486C 0010 pea.l [A4 + 0x10]
00003F9A A8A3 syscall EraseRect
00003F9C 4EBA 015A jsr [PC + 0x15A /* 000040F8 */]
00003FA0 2F2D DCAA move.l -[A7], [A5 - 0x2356]
00003FA4 4EBA C518 jsr [PC - 0x3AE8 /* 000004BE */]
00003FA8 584F addq.w A7, 4
00003FAA 601E bra +0x20 /* 00003FCA */
00003FAC 4A2D DCB6 tst.b [A5 - 0x234A]
00003FB0 6714 beq +0x16 /* 00003FC6 */
00003FB2 4EAD 04B2 jsr [A5 + 0x4B2 /* export_146 */]
00003FB6 7001 moveq.l D0, 0x01
00003FB8 2F00 move.l -[A7], D0
00003FBA 4EAD 065A jsr [A5 + 0x65A /* export_199 */]
00003FBE 4EAD 049A jsr [A5 + 0x49A /* export_143 */]
00003FC2 584F addq.w A7, 4
00003FC4 6004 bra +0x6 /* 00003FCA */
label00003FC6:
00003FC6 4EAD 0652 jsr [A5 + 0x652 /* export_198 */]
label00003FCA:
00003FCA 2F0C move.l -[A7], A4
00003FCC A969 syscall DrawControls
label00003FCE:
00003FCE 2F0C move.l -[A7], A4
00003FD0 A923 syscall EndUpdate
00003FD2 422D DCB6 clr.b [A5 - 0x234A]
label00003FD6:
00003FD6 286E FFFC movea.l A4, [A6 - 0x4]
00003FDA 4E5E unlink A6
00003FDC 4E75 rts
fn00003FDE:
00003FDE 4E56 0000 link A6, 0
00003FE2 598F subq.l A7, 4
00003FE4 3F2E 000A move.w -[A7], [A6 + 0xA]
00003FE8 A949 syscall GetMenuHandle
00003FEA 7000 moveq.l D0, 0x00
00003FEC 3F00 move.w -[A7], D0
00003FEE A939 syscall EnableItem
00003FF0 4E5E unlink A6
00003FF2 4E75 rts
fn00003FF4:
00003FF4 4E56 FFF0 link A6, -0x0010
00003FF8 2F0C move.l -[A7], A4
00003FFA 426D FDA6 clr.w [A5 - 0x25A]
00003FFE 598F subq.l A7, 4
00004000 A8D8 syscall NewRgn
00004002 285F movea.l A4, [A7]+
label00004004:
00004004 4EBA FAEE jsr [PC - 0x512 /* 00003AF4 */]
00004008 558F subq.l A7, 2
0000400A 70FF moveq.l D0, 0xFFFFFFFF
0000400C 3F00 move.w -[A7], D0
0000400E 486E FFF0 pea.l [A6 - 0x10]
00004012 7200 moveq.l D1, 0x00
00004014 2F01 move.l -[A7], D1
00004016 2F0C move.l -[A7], A4
00004018 A860 syscall WaitNextEvent
0000401A 4A1F tst.b [A7]+
0000401C 670A beq +0xC /* 00004028 */
0000401E 486E FFF0 pea.l [A6 - 0x10]
00004022 4EBA FAE4 jsr [PC - 0x51C /* 00003B08 */]
00004026 584F addq.w A7, 4
label00004028:
00004028 4A6D FDA6 tst.w [A5 - 0x25A]
0000402C 67D6 beq -0x28 /* 00004004 */
0000402E A9F4 syscall ExitToShell
00004030 286E FFEC movea.l A4, [A6 - 0x14]
00004034 4E5E unlink A6
00004036 4E75 rts
fn00004038:
00004038 4E56 FFFC link A6, -0x0004
0000403C 2F0C move.l -[A7], A4
0000403E 286E 0008 movea.l A4, [A6 + 0x8]
00004042 2F0C move.l -[A7], A4
00004044 7001 moveq.l D0, 0x01
00004046 3F00 move.w -[A7], D0
00004048 A95D syscall HiliteControl
0000404A 307C 0008 movea.w A0, 0x8
0000404E 43EE FFFC lea.l A1, [A6 - 0x4]
00004052 A03B syscall Delay
00004054 2280 move.l [A1], D0
00004056 2F0C move.l -[A7], A4
00004058 7000 moveq.l D0, 0x00
0000405A 3F00 move.w -[A7], D0
0000405C A95D syscall HiliteControl
0000405E 286E FFF8 movea.l A4, [A6 - 0x8]
00004062 4E5E unlink A6
00004064 4E75 rts
fn00004066:
00004066 4E56 0000 link A6, 0
0000406A 48E7 1108 movem.l -[A7], D3,D7,A4
0000406E 3E3C 2328 move.w D7, 0x2328 /* '#(' */
label00004072:
00004072 598F subq.l A7, 4
00004074 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
0000407A 3F07 move.w -[A7], D7
0000407C A9A0 syscall GetResource
0000407E 285F movea.l A4, [A7]+
00004080 200C move.l D0, A4
00004082 6708 beq +0xA /* 0000408C */
00004084 204C movea.l A0, A4
00004086 A064 syscall MoveHHi
00004088 204C movea.l A0, A4
0000408A A029 syscall HLock
label0000408C:
0000408C 3007 move.w D0, D7
0000408E 5247 addq.w D7, 1
00004090 0C47 2337 cmpi.w D7, 0x2337 /* '#7' */
00004094 6FDC ble -0x22 /* 00004072 */
00004096 4CEE 1088 FFF4 movem.l D3,D7,A4, [A6 - 0xC]
0000409C 4E5E unlink A6
0000409E 4E75 rts
fn000040A0:
000040A0 4E56 0000 link A6, 0
000040A4 48E7 1108 movem.l -[A7], D3,D7,A4
000040A8 4EAD 05AA jsr [A5 + 0x5AA /* export_177 */]
000040AC 3E3C 2328 move.w D7, 0x2328 /* '#(' */
label000040B0:
000040B0 598F subq.l A7, 4
000040B2 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
000040B8 3F07 move.w -[A7], D7
000040BA A9A0 syscall GetResource
000040BC 285F movea.l A4, [A7]+
000040BE 200C move.l D0, A4
000040C0 6704 beq +0x6 /* 000040C6 */
000040C2 204C movea.l A0, A4
000040C4 A02A syscall HUnlock
label000040C6:
000040C6 3007 move.w D0, D7
000040C8 5247 addq.w D7, 1
000040CA 0C47 2337 cmpi.w D7, 0x2337 /* '#7' */
000040CE 6FE0 ble -0x1E /* 000040B0 */
000040D0 4247 clr.w D7
label000040D2:
000040D2 48C7 ext.l D7
000040D4 2F07 move.l -[A7], D7
000040D6 4EAD 050A jsr [A5 + 0x50A /* export_157 */]
000040DA 584F addq.w A7, 4
000040DC 3007 move.w D0, D7
000040DE 5247 addq.w D7, 1
000040E0 0C47 0006 cmpi.w D7, 0x6
000040E4 6DEC blt -0x12 /* 000040D2 */
000040E6 4EAD 04F2 jsr [A5 + 0x4F2 /* export_154 */]
000040EA 4EAD 04FA jsr [A5 + 0x4FA /* export_155 */]
000040EE 4CEE 1088 FFF4 movem.l D3,D7,A4, [A6 - 0xC]
000040F4 4E5E unlink A6
000040F6 4E75 rts
fn000040F8:
000040F8 4E56 FEFA link A6, -0x0106
000040FC 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00004100 49EE FF00 lea.l A4, [A6 - 0x100]
00004104 4A2D DCBE tst.b [A5 - 0x2342]
00004108 6718 beq +0x1A /* 00004122 */
0000410A 7000 moveq.l D0, 0x00
0000410C 2F00 move.l -[A7], D0
0000410E 2F00 move.l -[A7], D0
00004110 7201 moveq.l D1, 0x01
00004112 2F01 move.l -[A7], D1
00004114 4878 0C1C push.l 0xC1C
00004118 4EAD 04AA jsr [A5 + 0x4AA /* export_145 */]
0000411C 4FEF 0010 lea.l A7, [A7 + 0x10]
00004120 6016 bra +0x18 /* 00004138 */
label00004122:
00004122 7000 moveq.l D0, 0x00
00004124 2F00 move.l -[A7], D0
00004126 2F00 move.l -[A7], D0
00004128 7201 moveq.l D1, 0x01
0000412A 2F01 move.l -[A7], D1
0000412C 4878 0BB8 push.l 0xBB8
00004130 4EAD 04AA jsr [A5 + 0x4AA /* export_145 */]
00004134 4FEF 0010 lea.l A7, [A7 + 0x10]
label00004138:
00004138 7000 moveq.l D0, 0x00
0000413A 3F00 move.w -[A7], D0
0000413C A887 syscall TextFont
0000413E 700C moveq.l D0, 0x0C
00004140 3F00 move.w -[A7], D0
00004142 A88A syscall TextSize
00004144 7000 moveq.l D0, 0x00
00004146 3F00 move.w -[A7], D0
00004148 A888 syscall TextFace
0000414A 2F0C move.l -[A7], A4
0000414C 3F3C 2B2A move.w -[A7], 0x2B2A /* '+*' */
00004150 302D D338 move.w D0, [A5 - 0x2CC8]
00004154 5240 addq.w D0, 1
00004156 3F00 move.w -[A7], D0
00004158 4EBA 1A86 jsr [PC + 0x1A86 /* 00005BE0 */]
0000415C 558F subq.l A7, 2
0000415E 2F0C move.l -[A7], A4
00004160 A88C syscall StringWidth
00004162 301F move.w D0, [A7]+
00004164 48C0 ext.l D0
00004166 223C 0000 0200 move.l D1, 0x200
0000416C 9280 sub.l D1, D0
0000416E 2001 move.l D0, D1
00004170 7202 moveq.l D1, 0x02
00004172 4EBA 143E jsr [PC + 0x143E /* 000055B2 */]
00004176 3C00 move.w D6, D0
00004178 3F06 move.w -[A7], D6
0000417A 7067 moveq.l D0, 0x67
0000417C 3F00 move.w -[A7], D0
0000417E A893 syscall MoveTo
00004180 2F0C move.l -[A7], A4
00004182 A884 syscall DrawString
00004184 302D DBD2 move.w D0, [A5 - 0x242E]
00004188 48C0 ext.l D0
0000418A 2F00 move.l -[A7], D0
0000418C 2F2D DBEE move.l -[A7], [A5 - 0x2412]
00004190 486D DBD4 pea.l [A5 - 0x242C]
00004194 4EBA E646 jsr [PC - 0x19BA /* 000027DC */]
00004198 3C00 move.w D6, D0
0000419A 4EBA E712 jsr [PC - 0x18EE /* 000028AE */]
0000419E 3A00 move.w D5, D0
000041A0 4FEF 000C lea.l A7, [A7 + 0xC]
000041A4 6620 bne +0x22 /* 000041C6 */
000041A6 2F0C move.l -[A7], A4
000041A8 3F3C 0FA0 move.w -[A7], 0xFA0
000041AC 7003 moveq.l D0, 0x03
000041AE 3F00 move.w -[A7], D0
000041B0 4EBA 1A2E jsr [PC + 0x1A2E /* 00005BE0 */]
000041B4 707D moveq.l D0, 0x7D
000041B6 3F00 move.w -[A7], D0
000041B8 3F3C 00B7 move.w -[A7], 0xB7
000041BC A893 syscall MoveTo
000041BE 2F0C move.l -[A7], A4
000041C0 A884 syscall DrawString
000041C2 6000 00F2 bra +0xF4 /* 000042B6 */
label000041C6:
000041C6 4247 clr.w D7
000041C8 6000 00E6 bra +0xE8 /* 000042B0 */
label000041CC:
000041CC BC47 cmp.w D6, D7
000041CE 6606 bne +0x8 /* 000041D6 */
000041D0 7008 moveq.l D0, 0x08
000041D2 3F00 move.w -[A7], D0
000041D4 A888 syscall TextFace
label000041D6:
000041D6 7028 moveq.l D0, 0x28
000041D8 3F00 move.w -[A7], D0
000041DA 3207 move.w D1, D7
000041DC 48C1 ext.l D1
000041DE E981 asl D1, 4
000041E0 D27C 0087 add.w D1, 0x87
000041E4 3F01 move.w -[A7], D1
000041E6 A893 syscall MoveTo
000041E8 48C7 ext.l D7
000041EA 2007 move.l D0, D7
000041EC 5280 addq.l D0, 1
000041EE 2F00 move.l -[A7], D0
000041F0 2F0C move.l -[A7], A4
000041F2 4EBA 1DBA jsr [PC + 0x1DBA /* 00005FAE */]
000041F6 2F0C move.l -[A7], A4
000041F8 A884 syscall DrawString
000041FA 702E moveq.l D0, 0x2E
000041FC 3F00 move.w -[A7], D0
000041FE A883 syscall DrawChar
00004200 7046 moveq.l D0, 0x46
00004202 3F00 move.w -[A7], D0
00004204 3207 move.w D1, D7
00004206 48C1 ext.l D1
00004208 E981 asl D1, 4
0000420A D27C 0087 add.w D1, 0x87
0000420E 3F01 move.w -[A7], D1
00004210 A893 syscall MoveTo
00004212 2F0C move.l -[A7], A4
00004214 486E FEFE pea.l [A6 - 0x102]
00004218 486E FEFA pea.l [A6 - 0x106]
0000421C 48C7 ext.l D7
0000421E 2F07 move.l -[A7], D7
00004220 4EBA E626 jsr [PC - 0x19DA /* 00002848 */]
00004224 2F0C move.l -[A7], A4
00004226 A884 syscall DrawString
00004228 0CAE 000F 4240 FEFA cmpi.l [A6 - 0x106], 0xF4240
00004230 4FEF 0010 lea.l A7, [A7 + 0x10]
00004234 6D10 blt +0x12 /* 00004246 */
00004236 2F0C move.l -[A7], A4
00004238 3F3C 0FA0 move.w -[A7], 0xFA0
0000423C 7004 moveq.l D0, 0x04
0000423E 3F00 move.w -[A7], D0
00004240 4EBA 199E jsr [PC + 0x199E /* 00005BE0 */]
00004244 600C bra +0xE /* 00004252 */
label00004246:
00004246 2F0C move.l -[A7], A4
00004248 2F2E FEFA move.l -[A7], [A6 - 0x106]
0000424C 4EBA C954 jsr [PC - 0x36AC /* 00000BA2 */]
00004250 504F addq.w A7, 8
label00004252:
00004252 558F subq.l A7, 2
00004254 2F0C move.l -[A7], A4
00004256 A88C syscall StringWidth
00004258 303C 01A0 move.w D0, 0x1A0
0000425C 905F sub.w D0, [A7]+
0000425E 3F00 move.w -[A7], D0
00004260 3007 move.w D0, D7
00004262 48C0 ext.l D0
00004264 E980 asl D0, 4
00004266 D07C 0087 add.w D0, 0x87
0000426A 3F00 move.w -[A7], D0
0000426C A893 syscall MoveTo
0000426E 2F0C move.l -[A7], A4
00004270 A884 syscall DrawString
00004272 2F0C move.l -[A7], A4
00004274 302E FEFE move.w D0, [A6 - 0x102]
00004278 48C0 ext.l D0
0000427A 2F00 move.l -[A7], D0
0000427C 4EBA C924 jsr [PC - 0x36DC /* 00000BA2 */]
00004280 558F subq.l A7, 2
00004282 2F0C move.l -[A7], A4
00004284 A88C syscall StringWidth
00004286 303C 01D4 move.w D0, 0x1D4
0000428A 905F sub.w D0, [A7]+
0000428C 3F00 move.w -[A7], D0
0000428E 3007 move.w D0, D7
00004290 48C0 ext.l D0
00004292 E980 asl D0, 4
00004294 D07C 0087 add.w D0, 0x87
00004298 3F00 move.w -[A7], D0
0000429A A893 syscall MoveTo
0000429C 2F0C move.l -[A7], A4
0000429E A884 syscall DrawString
000042A0 BC47 cmp.w D6, D7
000042A2 504F addq.w A7, 8
000042A4 6606 bne +0x8 /* 000042AC */
000042A6 7000 moveq.l D0, 0x00
000042A8 3F00 move.w -[A7], D0
000042AA A888 syscall TextFace
label000042AC:
000042AC 3007 move.w D0, D7
000042AE 5247 addq.w D7, 1
label000042B0:
000042B0 BA47 cmp.w D5, D7
000042B2 6E00 FF18 bgt -0xE6 /* 000041CC */
label000042B6:
000042B6 4CEE 10E0 FEEA movem.l D5,D6,D7,A4, [A6 - 0x116]
000042BC 4E5E unlink A6
000042BE 4E75 rts
fn000042C0:
000042C0 4E56 0000 link A6, 0
000042C4 2F0C move.l -[A7], A4
000042C6 286E 0008 movea.l A4, [A6 + 0x8]
000042CA 200C move.l D0, A4
000042CC 6604 bne +0x6 /* 000042D2 */
000042CE 7000 moveq.l D0, 0x00
000042D0 6008 bra +0xA /* 000042DA */
label000042D2:
000042D2 4A6C 006C tst.w [A4 + 0x6C]
000042D6 5DC0 slt D0
000042D8 4400 neg.b D0
label000042DA:
000042DA 286E FFFC movea.l A4, [A6 - 0x4]
000042DE 4E5E unlink A6
000042E0 4E75 rts
fn000042E2:
000042E2 4E56 0000 link A6, 0
000042E6 2F07 move.l -[A7], D7
000042E8 3E2E 000A move.w D7, [A6 + 0xA]
000042EC 422D DB94 clr.b [A5 - 0x246C]
000042F0 4EBA F414 jsr [PC - 0xBEC /* 00003706 */]
000042F4 3B47 FD66 move.w [A5 - 0x29A], D7
000042F8 41ED FD76 lea.l A0, [A5 - 0x28A]
000042FC 7009 moveq.l D0, 0x09
label000042FE:
000042FE 3F20 move.w -[A7], -[A0]
00004300 51C8 FFFC dbf D0, -0x6 /* 000042FE */
00004304 4EBA EF38 jsr [PC - 0x10C8 /* 0000323E */]
00004308 48C7 ext.l D7
0000430A 2F07 move.l -[A7], D7
0000430C 4EBA F272 jsr [PC - 0xD8E /* 00003580 */]
00004310 48C7 ext.l D7
00004312 2F07 move.l -[A7], D7
00004314 4EBA F278 jsr [PC - 0xD88 /* 0000358E */]
00004318 2F2D DCD6 move.l -[A7], [A5 - 0x232A]
0000431C A873 syscall SetPort
0000431E 3007 move.w D0, D7
00004320 5340 subq.w D0, 1
00004322 4FEF 001C lea.l A7, [A7 + 0x1C]
00004326 6B00 01E8 bmi +0x1EA /* 00004510 */
0000432A 0C40 0005 cmpi.w D0, 0x5
0000432E 6E00 01E0 bgt +0x1E2 /* 00004510 */
00004332 D040 add.w D0, D0
00004334 303B 0006 move.w D0, [PC + D0.w + 0x6]
00004338 4EFB 0000 jmp [PC + D0.w]
0000433C 000E 0108 ori.b A6, 0x8
00004340 005A 0126 ori.w [A2]+, 0x126
00004344 017E bchg <<invalid special address>>, D0
00004346 01C4 .incomplete
00004348 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
0000434C 4EAD 0462 jsr [A5 + 0x462 /* export_136 */]
00004350 4EBA 01D2 jsr [PC + 0x1D2 /* 00004524 */]
00004354 4A2D DCBE tst.b [A5 - 0x2342]
00004358 671A beq +0x1C /* 00004374 */
0000435A 7005 moveq.l D0, 0x05
0000435C 2F00 move.l -[A7], D0
0000435E 7213 moveq.l D1, 0x13
00004360 2F01 move.l -[A7], D1
00004362 7000 moveq.l D0, 0x00
00004364 2F00 move.l -[A7], D0
00004366 4878 0C1C push.l 0xC1C
0000436A 4EAD 04AA jsr [A5 + 0x4AA /* export_145 */]
0000436E 4FEF 0010 lea.l A7, [A7 + 0x10]
00004372 6018 bra +0x1A /* 0000438C */
label00004374:
00004374 7005 moveq.l D0, 0x05
00004376 2F00 move.l -[A7], D0
00004378 7213 moveq.l D1, 0x13
0000437A 2F01 move.l -[A7], D1
0000437C 7000 moveq.l D0, 0x00
0000437E 2F00 move.l -[A7], D0
00004380 4878 0BB8 push.l 0xBB8
00004384 4EAD 04AA jsr [A5 + 0x4AA /* export_145 */]
00004388 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000438C:
0000438C 4EBA F46A jsr [PC - 0xB96 /* 000037F8 */]
00004390 6000 017E bra +0x180 /* 00004510 */
00004394 4A2D FDA0 tst.b [A5 - 0x260]
00004398 6704 beq +0x6 /* 0000439E */
0000439A 4EBA F688 jsr [PC - 0x978 /* 00003A24 */]
label0000439E:
0000439E 598F subq.l A7, 4
000043A0 3F3C 03E9 move.w -[A7], 0x3E9
000043A4 A949 syscall GetMenuHandle
000043A6 7001 moveq.l D0, 0x01
000043A8 3F00 move.w -[A7], D0
000043AA A93A syscall DisableItem
000043AC 598F subq.l A7, 4
000043AE 3F3C 03EB move.w -[A7], 0x3EB
000043B2 A949 syscall GetMenuHandle
000043B4 7004 moveq.l D0, 0x04
000043B6 3F00 move.w -[A7], D0
000043B8 A93A syscall DisableItem
000043BA 598F subq.l A7, 4
000043BC 3F3C 03EB move.w -[A7], 0x3EB
000043C0 A949 syscall GetMenuHandle
000043C2 7003 moveq.l D0, 0x03
000043C4 3F00 move.w -[A7], D0
000043C6 A939 syscall EnableItem
000043C8 2F2D DCB2 move.l -[A7], [A5 - 0x234E]
000043CC A958 syscall HideControl
000043CE 2F2D DCA2 move.l -[A7], [A5 - 0x235E]
000043D2 A958 syscall HideControl
000043D4 206D DCAA movea.l A0, [A5 - 0x2356]
000043D8 2050 movea.l A0, [A0]
000043DA 117C 00FF 0010 move.b [A0 + 0x10], 0xFF
000043E0 206D DCA6 movea.l A0, [A5 - 0x235A]
000043E4 2050 movea.l A0, [A0]
000043E6 117C 00FF 0010 move.b [A0 + 0x10], 0xFF
000043EC 206D DCAE movea.l A0, [A5 - 0x2352]
000043F0 2050 movea.l A0, [A0]
000043F2 117C 00FF 0010 move.b [A0 + 0x10], 0xFF
000043F8 4EBA FCA6 jsr [PC - 0x35A /* 000040A0 */]
000043FC 4EBA 0126 jsr [PC + 0x126 /* 00004524 */]
00004400 302D D338 move.w D0, [A5 - 0x2CC8]
00004404 48C0 ext.l D0
00004406 2F00 move.l -[A7], D0
00004408 4EBA E3B0 jsr [PC - 0x1C50 /* 000027BA */]
0000440C 4EBA FCEA jsr [PC - 0x316 /* 000040F8 */]
00004410 4EBA F3E6 jsr [PC - 0xC1A /* 000037F8 */]
00004414 3B7C 0003 FD7A move.w [A5 - 0x286], 0x3
0000441A 2B7C 0000 0258 FD82 move.l [A5 - 0x27E], 0x258
00004422 2B7C 0000 0258 FD7E move.l [A5 - 0x282], 0x258
0000442A 41ED FD8A lea.l A0, [A5 - 0x276]
0000442E 7009 moveq.l D0, 0x09
label00004430:
00004430 3F20 move.w -[A7], -[A0]
00004432 51C8 FFFC dbf D0, -0x6 /* 00004430 */
00004436 4EBA EE06 jsr [PC - 0x11FA /* 0000323E */]
0000443A 4FEF 0018 lea.l A7, [A7 + 0x18]
0000443E 6000 00D0 bra +0xD2 /* 00004510 */
00004442 4EAD 047A jsr [A5 + 0x47A /* export_139 */]
00004446 4EBA CA88 jsr [PC - 0x3578 /* 00000ED0 */]
0000444A 1B7C 0001 DC9C move.b [A5 - 0x2364], 0x1
00004450 422D DC9A clr.b [A5 - 0x2366]
00004454 4EAD 03FA jsr [A5 + 0x3FA /* export_123 */]
00004458 4EBA FC0C jsr [PC - 0x3F4 /* 00004066 */]
0000445C 6000 00B2 bra +0xB4 /* 00004510 */
00004460 4EAD 047A jsr [A5 + 0x47A /* export_139 */]
00004464 598F subq.l A7, 4
00004466 3F3C 03E9 move.w -[A7], 0x3E9
0000446A A949 syscall GetMenuHandle
0000446C 7001 moveq.l D0, 0x01
0000446E 3F00 move.w -[A7], D0
00004470 A939 syscall EnableItem
00004472 598F subq.l A7, 4
00004474 3F3C 03EB move.w -[A7], 0x3EB
00004478 A949 syscall GetMenuHandle
0000447A 7003 moveq.l D0, 0x03
0000447C 3F00 move.w -[A7], D0
0000447E A93A syscall DisableItem
00004480 422D DC9C clr.b [A5 - 0x2364]
00004484 206D DCAA movea.l A0, [A5 - 0x2356]
00004488 2050 movea.l A0, [A0]
0000448A 4228 0010 clr.b [A0 + 0x10]
0000448E 206D DCA6 movea.l A0, [A5 - 0x235A]
00004492 2050 movea.l A0, [A0]
00004494 4228 0010 clr.b [A0 + 0x10]
00004498 206D DCAE movea.l A0, [A5 - 0x2352]
0000449C 2050 movea.l A0, [A0]
0000449E 4228 0010 clr.b [A0 + 0x10]
000044A2 206D DCA2 movea.l A0, [A5 - 0x235E]
000044A6 2050 movea.l A0, [A0]
000044A8 117C 00FF 0010 move.b [A0 + 0x10], 0xFF
000044AE 4EAD 03FA jsr [A5 + 0x3FA /* export_123 */]
000044B2 4EBA FBB2 jsr [PC - 0x44E /* 00004066 */]
000044B6 6058 bra +0x5A /* 00004510 */
000044B8 206D DCA2 movea.l A0, [A5 - 0x235E]
000044BC 2050 movea.l A0, [A0]
000044BE 117C 00FF 0010 move.b [A0 + 0x10], 0xFF
000044C4 4EAD 0412 jsr [A5 + 0x412 /* export_126 */]
000044C8 4A6D DC9E tst.w [A5 - 0x2362]
000044CC 672A beq +0x2C /* 000044F8 */
000044CE 7004 moveq.l D0, 0x04
000044D0 B06D DBD2 cmp.w D0, [A5 - 0x242E]
000044D4 6622 bne +0x24 /* 000044F8 */
000044D6 1B7C 0001 FDA0 move.b [A5 - 0x260], 0x1
000044DC 7003 moveq.l D0, 0x03
000044DE 2F00 move.l -[A7], D0
000044E0 7264 moveq.l D1, 0x64
000044E2 2F01 move.l -[A7], D1
000044E4 4EBA F0D8 jsr [PC - 0xF28 /* 000035BE */]
000044E8 7001 moveq.l D0, 0x01
000044EA 2F00 move.l -[A7], D0
000044EC 7202 moveq.l D1, 0x02
000044EE 2F01 move.l -[A7], D1
000044F0 4EBA EFE8 jsr [PC - 0x1018 /* 000034DA */]
000044F4 4FEF 0010 lea.l A7, [A7 + 0x10]
label000044F8:
000044F8 4EBA FB6C jsr [PC - 0x494 /* 00004066 */]
000044FC 6012 bra +0x14 /* 00004510 */
000044FE 206D DCA2 movea.l A0, [A5 - 0x235E]
00004502 2050 movea.l A0, [A0]
00004504 4228 0010 clr.b [A0 + 0x10]
00004508 4EBA FB96 jsr [PC - 0x46A /* 000040A0 */]
0000450C 4EAD 0642 jsr [A5 + 0x642 /* export_196 */]
label00004510:
00004510 70FF moveq.l D0, 0xFFFFFFFF
00004512 3F00 move.w -[A7], D0
00004514 7200 moveq.l D1, 0x00
00004516 3F01 move.w -[A7], D1
00004518 201F move.l D0, [A7]+
0000451A A032 syscall FlushEvents
0000451C 2E2E FFFC move.l D7, [A6 - 0x4]
00004520 4E5E unlink A6
00004522 4E75 rts
fn00004524:
00004524 4E56 0000 link A6, 0
00004528 4EAD 0442 jsr [A5 + 0x442 /* export_132 */]
0000452C 4A2D DCBE tst.b [A5 - 0x2342]
00004530 6706 beq +0x8 /* 00004538 */
00004532 4878 00CD push.l 0xCD
00004536 A862 syscall ForeColor
label00004538:
00004538 206D FE7E movea.l A0, [A5 - 0x182]
0000453C 4868 0010 pea.l [A0 + 0x10]
00004540 A8A2 syscall PaintRect
00004542 4A2D DCBE tst.b [A5 - 0x2342]
00004546 6706 beq +0x8 /* 0000454E */
00004548 7021 moveq.l D0, 0x21
0000454A 2F00 move.l -[A7], D0
0000454C A862 syscall ForeColor
label0000454E:
0000454E 7001 moveq.l D0, 0x01
00004550 2F00 move.l -[A7], D0
00004552 4EAD 0452 jsr [A5 + 0x452 /* export_134 */]
00004556 206D FE7E movea.l A0, [A5 - 0x182]
0000455A 4868 0010 pea.l [A0 + 0x10]
0000455E A8A3 syscall EraseRect
00004560 584F addq.w A7, 4
00004562 4E5E unlink A6
00004564 4E75 rts
fn00004566:
00004566 4E56 0000 link A6, 0
0000456A 48E7 1100 movem.l -[A7], D3,D7
0000456E 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
00004572 7000 moveq.l D0, 0x00
00004574 2F00 move.l -[A7], D0
00004576 4EAD 050A jsr [A5 + 0x50A /* export_157 */]
0000457A 4247 clr.w D7
0000457C 584F addq.w A7, 4
label0000457E:
0000457E 2007 move.l D0, D7
00004580 E540 asl D0.w, 2
00004582 41ED F9DA lea.l A0, [A5 - 0x626]
00004586 2070 0000 movea.l A0, [A0 + D0.w]
0000458A A02B syscall EmptyHandle
0000458C 3007 move.w D0, D7
0000458E 5247 addq.w D7, 1
00004590 0C47 0019 cmpi.w D7, 0x19
00004594 6DE8 blt -0x16 /* 0000457E */
00004596 4EAD 059A jsr [A5 + 0x59A /* export_175 */]
0000459A 7013 moveq.l D0, 0x13
0000459C 2F00 move.l -[A7], D0
0000459E 322D FDA2 move.w D1, [A5 - 0x25E]
000045A2 48C1 ext.l D1
000045A4 2F01 move.l -[A7], D1
000045A6 4EBA 028A jsr [PC + 0x28A /* 00004832 */]
000045AA 4A00 tst.b D0
000045AC 504F addq.w A7, 8
000045AE 672E beq +0x30 /* 000045DE */
000045B0 3B6D D338 FDA2 move.w [A5 - 0x25E], [A5 - 0x2CC8]
000045B6 4EBA 0062 jsr [PC + 0x62 /* 0000461A */]
000045BA 4A00 tst.b D0
000045BC 6720 beq +0x22 /* 000045DE */
000045BE 7004 moveq.l D0, 0x04
000045C0 2F00 move.l -[A7], D0
000045C2 7264 moveq.l D1, 0x64
000045C4 2F01 move.l -[A7], D1
000045C6 4EBA EFF6 jsr [PC - 0x100A /* 000035BE */]
000045CA 7001 moveq.l D0, 0x01
000045CC 2F00 move.l -[A7], D0
000045CE 7202 moveq.l D1, 0x02
000045D0 2F01 move.l -[A7], D1
000045D2 4EBA EF06 jsr [PC - 0x10FA /* 000034DA */]
000045D6 422D DC9A clr.b [A5 - 0x2366]
000045DA 4FEF 0010 lea.l A7, [A7 + 0x10]
label000045DE:
000045DE 4CEE 0088 FFF8 movem.l D3,D7, [A6 - 0x8]
000045E4 4E5E unlink A6
000045E6 4E75 rts
fn000045E8:
000045E8 4E56 0000 link A6, 0
000045EC 7014 moveq.l D0, 0x14
000045EE 2F00 move.l -[A7], D0
000045F0 7200 moveq.l D1, 0x00
000045F2 2F01 move.l -[A7], D1
000045F4 4EBA 023C jsr [PC + 0x23C /* 00004832 */]
000045F8 4A00 tst.b D0
000045FA 504F addq.w A7, 8
000045FC 6718 beq +0x1A /* 00004616 */
000045FE 4EAD 047A jsr [A5 + 0x47A /* export_139 */]
00004602 7003 moveq.l D0, 0x03
00004604 2F00 move.l -[A7], D0
00004606 7264 moveq.l D1, 0x64
00004608 2F01 move.l -[A7], D1
0000460A 4EBA EFB2 jsr [PC - 0x104E /* 000035BE */]
0000460E 7003 moveq.l D0, 0x03
00004610 2F00 move.l -[A7], D0
00004612 4EBA FCCE jsr [PC - 0x332 /* 000042E2 */]
label00004616:
00004616 4E5E unlink A6
00004618 4E75 rts
fn0000461A:
0000461A 4E56 FFF0 link A6, -0x0010
0000461E 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00004622 49EE FFFC lea.l A4, [A6 - 0x4]
00004626 4EBA C8A8 jsr [PC - 0x3758 /* 00000ED0 */]
0000462A 3B6D D9C8 D8A6 move.w [A5 - 0x275A], [A5 - 0x2638]
00004630 1B6D D9CC D8A4 move.b [A5 - 0x275C], [A5 - 0x2634]
00004636 7003 moveq.l D0, 0x03
00004638 B06D D8A6 cmp.w D0, [A5 - 0x275A]
0000463C 6706 beq +0x8 /* 00004644 */
0000463E 7001 moveq.l D0, 0x01
00004640 6000 01E6 bra +0x1E8 /* 00004828 */
label00004644:
00004644 7801 moveq.l D4, 0x01
00004646 1D7C 0001 FFF7 move.b [A6 - 0x9], 0x1
0000464C 7006 moveq.l D0, 0x06
0000464E B06D D338 cmp.w D0, [A5 - 0x2CC8]
00004652 670E beq +0x10 /* 00004662 */
00004654 3D6D D338 FFF4 move.w [A6 - 0xC], [A5 - 0x2CC8]
0000465A 3D6D D338 FFF2 move.w [A6 - 0xE], [A5 - 0x2CC8]
00004660 600A bra +0xC /* 0000466C */
label00004662:
00004662 426E FFF2 clr.w [A6 - 0xE]
00004666 3D7C 0005 FFF4 move.w [A6 - 0xC], 0x5
label0000466C:
0000466C 3A2E FFF2 move.w D5, [A6 - 0xE]
00004670 6000 00B4 bra +0xB6 /* 00004726 */
label00004674:
00004674 41ED D8A8 lea.l A0, [A5 - 0x2758]
00004678 4A30 5000 tst.b [A0 + D5.w]
0000467C 6700 00A6 beq +0xA8 /* 00004724 */
00004680 598F subq.l A7, 4
00004682 2F3C 4341 5447 move.l -[A7], 0x43415447 /* 'CATG' */
00004688 3005 move.w D0, D5
0000468A D07C 0080 add.w D0, 0x80
0000468E 3F00 move.w -[A7], D0
00004690 A9A0 syscall GetResource
00004692 2D5F FFF8 move.l [A6 - 0x8], [A7]+
00004696 6614 bne +0x16 /* 000046AC */
00004698 486D FD3E pea.l [A5 - 0x2C2]
0000469C 558F subq.l A7, 2
0000469E A9AF syscall ResError
000046A0 301F move.w D0, [A7]+
000046A2 48C0 ext.l D0
000046A4 2F00 move.l -[A7], D0
000046A6 4EBA E8FE jsr [PC - 0x1702 /* 00002FA6 */]
000046AA 504F addq.w A7, 8
label000046AC:
000046AC 206E FFF8 movea.l A0, [A6 - 0x8]
000046B0 A029 syscall HLock
000046B2 206E FFF8 movea.l A0, [A6 - 0x8]
000046B6 2650 movea.l A3, [A0]
000046B8 4294 clr.l [A4]
000046BA 4247 clr.w D7
000046BC 6046 bra +0x48 /* 00004704 */
label000046BE:
000046BE 48C5 ext.l D5
000046C0 2005 move.l D0, D5
000046C2 2200 move.l D1, D0
000046C4 C0FC 0028 mulu.w D0, 0x28 /* '(' */
000046C8 4841 swap.w D1
000046CA C2FC 0028 mulu.w D1, 0x28 /* '(' */
000046CE 4841 swap.w D1
000046D0 4241 clr.w D1
000046D2 D081 add.l D0, D1
000046D4 41ED D8B0 lea.l A0, [A5 - 0x2750]
000046D8 2207 move.l D1, D7
000046DA 48C1 ext.l D1
000046DC D280 add.l D1, D0
000046DE 4A30 1800 tst.b [A0 + D1]
000046E2 671E beq +0x20 /* 00004702 */
000046E4 48C7 ext.l D7
000046E6 2007 move.l D0, D7
000046E8 E580 asl D0, 2
000046EA 7C00 moveq.l D6, 0x00
000046EC 1C33 0806 move.b D6, [A3 + D0 + 0x6]
000046F0 0C46 0015 cmpi.w D6, 0x15
000046F4 6C04 bge +0x6 /* 000046FA */
000046F6 526C 0002 addq.w [A4 + 0x2], 1
label000046FA:
000046FA 0C46 000B cmpi.w D6, 0xB
000046FE 6C02 bge +0x4 /* 00004702 */
00004700 5254 addq.w [A4], 1
label00004702:
00004702 5247 addq.w D7, 1
label00004704:
00004704 7000 moveq.l D0, 0x00
00004706 102B 0002 move.b D0, [A3 + 0x2]
0000470A B047 cmp.w D0, D7
0000470C 6EB0 bgt -0x4E /* 000046BE */
0000470E 206E FFF8 movea.l A0, [A6 - 0x8]
00004712 A02A syscall HUnlock
00004714 4A54 tst.w [A4]
00004716 6602 bne +0x4 /* 0000471A */
00004718 4204 clr.b D4
label0000471A:
0000471A 4A6C 0002 tst.w [A4 + 0x2]
0000471E 6604 bne +0x6 /* 00004724 */
00004720 422E FFF7 clr.b [A6 - 0x9]
label00004724:
00004724 5245 addq.w D5, 1
label00004726:
00004726 BA6E FFF4 cmp.w D5, [A6 - 0xC]
0000472A 6F00 FF48 ble -0xB6 /* 00004674 */
0000472E 4A04 tst.b D4
00004730 6612 bne +0x14 /* 00004744 */
00004732 4A2E FFF7 tst.b [A6 - 0x9]
00004736 660C bne +0xE /* 00004744 */
00004738 3B7C 0002 D8A6 move.w [A5 - 0x275A], 0x2
0000473E 7001 moveq.l D0, 0x01
00004740 6000 00E6 bra +0xE8 /* 00004828 */
label00004744:
00004744 598F subq.l A7, 4
00004746 3F3C 2B5C move.w -[A7], 0x2B5C /* '+\\' */
0000474A 7000 moveq.l D0, 0x00
0000474C 2F00 move.l -[A7], D0
0000474E 72FF moveq.l D1, 0xFFFFFFFF
00004750 2F01 move.l -[A7], D1
00004752 A97C syscall GetNewDialog
00004754 265F movea.l A3, [A7]+
00004756 200B move.l D0, A3
00004758 660E bne +0x10 /* 00004768 */
0000475A 486D FD48 pea.l [A5 - 0x2B8]
0000475E 7094 moveq.l D0, 0xFFFFFF94
00004760 2F00 move.l -[A7], D0
00004762 4EBA E842 jsr [PC - 0x17BE /* 00002FA6 */]
00004766 504F addq.w A7, 8
label00004768:
00004768 4A04 tst.b D4
0000476A 6614 bne +0x16 /* 00004780 */
0000476C 7004 moveq.l D0, 0x04
0000476E 2F00 move.l -[A7], D0
00004770 2F0B move.l -[A7], A3
00004772 4EBA C156 jsr [PC - 0x3EAA /* 000008CA */]
00004776 508F addq.l A7, 8
00004778 2F00 move.l -[A7], D0
0000477A 3F3C 00FF move.w -[A7], 0xFF
0000477E A95D syscall HiliteControl
label00004780:
00004780 2F0B move.l -[A7], A3
00004782 4EBA BDFE jsr [PC - 0x4202 /* 00000582 */]
00004786 7003 moveq.l D0, 0x03
00004788 2F00 move.l -[A7], D0
0000478A 7201 moveq.l D1, 0x01
0000478C 2F01 move.l -[A7], D1
0000478E 2F0B move.l -[A7], A3
00004790 4EBA C368 jsr [PC - 0x3C98 /* 00000AFA */]
00004794 7006 moveq.l D0, 0x06
00004796 2F00 move.l -[A7], D0
00004798 2F00 move.l -[A7], D0
0000479A 7204 moveq.l D1, 0x04
0000479C 2F01 move.l -[A7], D1
0000479E 2F0B move.l -[A7], A3
000047A0 4EBA C200 jsr [PC - 0x3E00 /* 000009A2 */]
000047A4 2F0B move.l -[A7], A3
000047A6 A915 syscall ShowWindow
000047A8 4FEF 0020 lea.l A7, [A7 + 0x20]
label000047AC:
000047AC 486D 0272 pea.l [A5 + 0x272 /* export_74 */]
000047B0 486E FFF0 pea.l [A6 - 0x10]
000047B4 A991 syscall ModalDialog
000047B6 7004 moveq.l D0, 0x04
000047B8 B06E FFF0 cmp.w D0, [A6 - 0x10]
000047BC 6E22 bgt +0x24 /* 000047E0 */
000047BE 7006 moveq.l D0, 0x06
000047C0 B06E FFF0 cmp.w D0, [A6 - 0x10]
000047C4 6D1A blt +0x1C /* 000047E0 */
000047C6 302E FFF0 move.w D0, [A6 - 0x10]
000047CA 48C0 ext.l D0
000047CC 2F00 move.l -[A7], D0
000047CE 7006 moveq.l D0, 0x06
000047D0 2F00 move.l -[A7], D0
000047D2 7204 moveq.l D1, 0x04
000047D4 2F01 move.l -[A7], D1
000047D6 2F0B move.l -[A7], A3
000047D8 4EBA C1C8 jsr [PC - 0x3E38 /* 000009A2 */]
000047DC 4FEF 0010 lea.l A7, [A7 + 0x10]
label000047E0:
000047E0 7001 moveq.l D0, 0x01
000047E2 B06E FFF0 cmp.w D0, [A6 - 0x10]
000047E6 6708 beq +0xA /* 000047F0 */
000047E8 7002 moveq.l D0, 0x02
000047EA B06E FFF0 cmp.w D0, [A6 - 0x10]
000047EE 66BC bne -0x42 /* 000047AC */
label000047F0:
000047F0 7002 moveq.l D0, 0x02
000047F2 B06E FFF0 cmp.w D0, [A6 - 0x10]
000047F6 6608 bne +0xA /* 00004800 */
000047F8 2F0B move.l -[A7], A3
000047FA A983 syscall DisposeDialog
000047FC 7000 moveq.l D0, 0x00
000047FE 6028 bra +0x2A /* 00004828 */
label00004800:
00004800 7C04 moveq.l D6, 0x04
label00004802:
00004802 48C6 ext.l D6
00004804 2F06 move.l -[A7], D6
00004806 2F0B move.l -[A7], A3
00004808 4EBA C044 jsr [PC - 0x3FBC /* 0000084E */]
0000480C 4A40 tst.w D0
0000480E 504F addq.w A7, 8
00004810 6608 bne +0xA /* 0000481A */
00004812 5246 addq.w D6, 1
00004814 0C46 0006 cmpi.w D6, 0x6
00004818 6FE8 ble -0x16 /* 00004802 */
label0000481A:
0000481A 3006 move.w D0, D6
0000481C 5940 subq.w D0, 4
0000481E 3B40 D8A6 move.w [A5 - 0x275A], D0
00004822 2F0B move.l -[A7], A3
00004824 A983 syscall DisposeDialog
00004826 7001 moveq.l D0, 0x01
label00004828:
00004828 4CEE 18F8 FFD4 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x2C]
0000482E 4E5E unlink A6
00004830 4E75 rts
fn00004832:
00004832 4E56 FEEC link A6, -0x0114
00004836 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
0000483A 47EE FF00 lea.l A3, [A6 - 0x100]
0000483E 4EBA C690 jsr [PC - 0x3970 /* 00000ED0 */]
00004842 4247 clr.w D7
00004844 4245 clr.w D5
00004846 7606 moveq.l D3, 0x06
00004848 6010 bra +0x12 /* 0000485A */
label0000484A:
0000484A 41ED D8A8 lea.l A0, [A5 - 0x2758]
0000484E 4A30 7000 tst.b [A0 + D7.w]
00004852 6702 beq +0x4 /* 00004856 */
00004854 5245 addq.w D5, 1
label00004856:
00004856 3007 move.w D0, D7
00004858 5247 addq.w D7, 1
label0000485A:
0000485A B647 cmp.w D3, D7
0000485C 6EEC bgt -0x12 /* 0000484A */
0000485E 4A2D D8AE tst.b [A5 - 0x2752]
00004862 6708 beq +0xA /* 0000486C */
00004864 4A2D D9CB tst.b [A5 - 0x2635]
00004868 6702 beq +0x4 /* 0000486C */
0000486A 5245 addq.w D5, 1
label0000486C:
0000486C 0C45 0001 cmpi.w D5, 0x1
00004870 6620 bne +0x22 /* 00004892 */
00004872 4247 clr.w D7
00004874 7606 moveq.l D3, 0x06
label00004876:
00004876 41ED D8A8 lea.l A0, [A5 - 0x2758]
0000487A 4A30 7000 tst.b [A0 + D7.w]
0000487E 670A beq +0xC /* 0000488A */
00004880 3B47 D338 move.w [A5 - 0x2CC8], D7
00004884 7001 moveq.l D0, 0x01
00004886 6000 02A4 bra +0x2A6 /* 00004B2C */
label0000488A:
0000488A 3007 move.w D0, D7
0000488C 5247 addq.w D7, 1
0000488E B647 cmp.w D3, D7
00004890 6CE4 bge -0x1A /* 00004876 */
label00004892:
00004892 2F0B move.l -[A7], A3
00004894 3F3C 0FA0 move.w -[A7], 0xFA0
00004898 3F2E 000E move.w -[A7], [A6 + 0xE]
0000489C 4EBA 1342 jsr [PC + 0x1342 /* 00005BE0 */]
000048A0 2F0B move.l -[A7], A3
000048A2 7000 moveq.l D0, 0x00
000048A4 2F00 move.l -[A7], D0
000048A6 2F00 move.l -[A7], D0
000048A8 2F00 move.l -[A7], D0
000048AA A98B syscall ParamText
000048AC 598F subq.l A7, 4
000048AE 3F3C 2B5B move.w -[A7], 0x2B5B /* '+[' */
000048B2 7000 moveq.l D0, 0x00
000048B4 2F00 move.l -[A7], D0
000048B6 72FF moveq.l D1, 0xFFFFFFFF
000048B8 2F01 move.l -[A7], D1
000048BA A97C syscall GetNewDialog
000048BC 285F movea.l A4, [A7]+
000048BE 200C move.l D0, A4
000048C0 660E bne +0x10 /* 000048D0 */
000048C2 486D FD56 pea.l [A5 - 0x2AA]
000048C6 7094 moveq.l D0, 0xFFFFFF94
000048C8 2F00 move.l -[A7], D0
000048CA 4EBA E6DA jsr [PC - 0x1926 /* 00002FA6 */]
000048CE 504F addq.w A7, 8
label000048D0:
000048D0 486E FEF6 pea.l [A6 - 0x10A]
000048D4 7004 moveq.l D0, 0x04
000048D6 2F00 move.l -[A7], D0
000048D8 2F0C move.l -[A7], A4
000048DA 4EBA C010 jsr [PC - 0x3FF0 /* 000008EC */]
000048DE 382E FEF6 move.w D4, [A6 - 0x10A]
000048E2 3A2E FEFA move.w D5, [A6 - 0x106]
000048E6 9A6E FEF6 sub.w D5, [A6 - 0x10A]
000048EA 486E FEF6 pea.l [A6 - 0x10A]
000048EE 7005 moveq.l D0, 0x05
000048F0 2F00 move.l -[A7], D0
000048F2 2F0C move.l -[A7], A4
000048F4 4EBA BFF6 jsr [PC - 0x400A /* 000008EC */]
000048F8 48C4 ext.l D4
000048FA 48C5 ext.l D5
000048FC 2004 move.l D0, D4
000048FE D085 add.l D0, D5
00004900 322E FEF6 move.w D1, [A6 - 0x10A]
00004904 9240 sub.w D1, D0
00004906 3D41 FEEC move.w [A6 - 0x114], D1
0000490A 486E FEF6 pea.l [A6 - 0x10A]
0000490E 700A moveq.l D0, 0x0A
00004910 2F00 move.l -[A7], D0
00004912 2F0C move.l -[A7], A4
00004914 4EBA BFD6 jsr [PC - 0x402A /* 000008EC */]
00004918 3D6E FEF6 FEEE move.w [A6 - 0x112], [A6 - 0x10A]
0000491E 4246 clr.w D6
00004920 4247 clr.w D7
00004922 4FEF 0024 lea.l A7, [A7 + 0x24]
00004926 6000 0082 bra +0x84 /* 000049AA */
label0000492A:
0000492A 41ED D8A8 lea.l A0, [A5 - 0x2758]
0000492E 4A30 7000 tst.b [A0 + D7.w]
00004932 676A beq +0x6C /* 0000499E */
00004934 0C47 0006 cmpi.w D7, 0x6
00004938 6606 bne +0x8 /* 00004940 */
0000493A 4A2D D9CB tst.b [A5 - 0x2635]
0000493E 6768 beq +0x6A /* 000049A8 */
label00004940:
00004940 2F0C move.l -[A7], A4
00004942 3007 move.w D0, D7
00004944 5840 addq.w D0, 4
00004946 3F00 move.w -[A7], D0
00004948 486E FEF0 pea.l [A6 - 0x110]
0000494C 486E FEF2 pea.l [A6 - 0x10E]
00004950 486E FEF6 pea.l [A6 - 0x10A]
00004954 A98D syscall GetDialogItem/GetDItem
00004956 48C6 ext.l D6
00004958 48C5 ext.l D5
0000495A 302E FEEC move.w D0, [A6 - 0x114]
0000495E 48C0 ext.l D0
00004960 D085 add.l D0, D5
00004962 2200 move.l D1, D0
00004964 2006 move.l D0, D6
00004966 4EBA 0C22 jsr [PC + 0xC22 /* 0000558A */]
0000496A D044 add.w D0, D4
0000496C 3D40 FEF6 move.w [A6 - 0x10A], D0
00004970 3005 move.w D0, D5
00004972 D06E FEF6 add.w D0, [A6 - 0x10A]
00004976 3D40 FEFA move.w [A6 - 0x106], D0
0000497A 2F0C move.l -[A7], A4
0000497C 3007 move.w D0, D7
0000497E 5840 addq.w D0, 4
00004980 3F00 move.w -[A7], D0
00004982 3F2E FEF0 move.w -[A7], [A6 - 0x110]
00004986 2F2E FEF2 move.l -[A7], [A6 - 0x10E]
0000498A 486E FEF6 pea.l [A6 - 0x10A]
0000498E A98E syscall SetDialogItem/SetDItem
00004990 2F2E FEF2 move.l -[A7], [A6 - 0x10E]
00004994 2F2E FEF6 move.l -[A7], [A6 - 0x10A]
00004998 A959 syscall MoveControl
0000499A 5246 addq.w D6, 1
0000499C 600A bra +0xC /* 000049A8 */
label0000499E:
0000499E 2F0C move.l -[A7], A4
000049A0 3007 move.w D0, D7
000049A2 5840 addq.w D0, 4
000049A4 3F00 move.w -[A7], D0
000049A6 A827 syscall HideDialogItem/HideDItem
label000049A8:
000049A8 5247 addq.w D7, 1
label000049AA:
000049AA 0C47 0006 cmpi.w D7, 0x6
000049AE 6F00 FF7A ble -0x84 /* 0000492A */
000049B2 382E FEEE move.w D4, [A6 - 0x112]
000049B6 986E FEFA sub.w D4, [A6 - 0x106]
000049BA 3D7C 0001 FEFE move.w [A6 - 0x102], 0x1
label000049C0:
000049C0 2F0C move.l -[A7], A4
000049C2 3F2E FEFE move.w -[A7], [A6 - 0x102]
000049C6 486E FEF0 pea.l [A6 - 0x110]
000049CA 486E FEF2 pea.l [A6 - 0x10E]
000049CE 486E FEF6 pea.l [A6 - 0x10A]
000049D2 A98D syscall GetDialogItem/GetDItem
000049D4 486E FEF6 pea.l [A6 - 0x10A]
000049D8 7000 moveq.l D0, 0x00
000049DA 3F00 move.w -[A7], D0
000049DC 48C4 ext.l D4
000049DE 2204 move.l D1, D4
000049E0 4481 neg.l D1
000049E2 3F01 move.w -[A7], D1
000049E4 A8A8 syscall OffsetRect
000049E6 2F0C move.l -[A7], A4
000049E8 3F2E FEFE move.w -[A7], [A6 - 0x102]
000049EC 3F2E FEF0 move.w -[A7], [A6 - 0x110]
000049F0 2F2E FEF2 move.l -[A7], [A6 - 0x10E]
000049F4 486E FEF6 pea.l [A6 - 0x10A]
000049F8 A98E syscall SetDialogItem/SetDItem
000049FA 2F2E FEF2 move.l -[A7], [A6 - 0x10E]
000049FE 2F2E FEF6 move.l -[A7], [A6 - 0x10A]
00004A02 A959 syscall MoveControl
00004A04 302E FEFE move.w D0, [A6 - 0x102]
00004A08 526E FEFE addq.w [A6 - 0x102], 1
00004A0C 7002 moveq.l D0, 0x02
00004A0E B06E FEFE cmp.w D0, [A6 - 0x102]
00004A12 6CAC bge -0x52 /* 000049C0 */
00004A14 41EE FEF6 lea.l A0, [A6 - 0x10A]
00004A18 43EC 0010 lea.l A1, [A4 + 0x10]
00004A1C 20D9 move.l [A0]+, [A1]+
00004A1E 20D9 move.l [A0]+, [A1]+
00004A20 996E FEFA sub.w [A6 - 0x106], D4
00004A24 2F0C move.l -[A7], A4
00004A26 2F2E FEFA move.l -[A7], [A6 - 0x106]
00004A2A 7000 moveq.l D0, 0x00
00004A2C 1F00 move.b -[A7], D0
00004A2E A91D syscall SizeWindow
00004A30 7003 moveq.l D0, 0x03
00004A32 2F00 move.l -[A7], D0
00004A34 7201 moveq.l D1, 0x01
00004A36 2F01 move.l -[A7], D1
00004A38 2F0C move.l -[A7], A4
00004A3A 4EBA C0BE jsr [PC - 0x3F42 /* 00000AFA */]
00004A3E 302E 000A move.w D0, [A6 + 0xA]
00004A42 41ED D8A8 lea.l A0, [A5 - 0x2758]
00004A46 4A30 0000 tst.b [A0 + D0.w]
00004A4A 4FEF 000C lea.l A7, [A7 + 0xC]
00004A4E 671E beq +0x20 /* 00004A6E */
00004A50 302E 000A move.w D0, [A6 + 0xA]
00004A54 48C0 ext.l D0
00004A56 5880 addq.l D0, 4
00004A58 2F00 move.l -[A7], D0
00004A5A 700A moveq.l D0, 0x0A
00004A5C 2F00 move.l -[A7], D0
00004A5E 7204 moveq.l D1, 0x04
00004A60 2F01 move.l -[A7], D1
00004A62 2F0C move.l -[A7], A4
00004A64 4EBA BF3C jsr [PC - 0x40C4 /* 000009A2 */]
00004A68 4FEF 0010 lea.l A7, [A7 + 0x10]
00004A6C 6034 bra +0x36 /* 00004AA2 */
label00004A6E:
00004A6E 7E04 moveq.l D7, 0x04
label00004A70:
00004A70 48C7 ext.l D7
00004A72 2F07 move.l -[A7], D7
00004A74 2F0C move.l -[A7], A4
00004A76 4EBA BE92 jsr [PC - 0x416E /* 0000090A */]
00004A7A 4A00 tst.b D0
00004A7C 504F addq.w A7, 8
00004A7E 6718 beq +0x1A /* 00004A98 */
00004A80 48C7 ext.l D7
00004A82 2F07 move.l -[A7], D7
00004A84 700A moveq.l D0, 0x0A
00004A86 2F00 move.l -[A7], D0
00004A88 7204 moveq.l D1, 0x04
00004A8A 2F01 move.l -[A7], D1
00004A8C 2F0C move.l -[A7], A4
00004A8E 4EBA BF12 jsr [PC - 0x40EE /* 000009A2 */]
00004A92 4FEF 0010 lea.l A7, [A7 + 0x10]
00004A96 600A bra +0xC /* 00004AA2 */
label00004A98:
00004A98 3007 move.w D0, D7
00004A9A 5247 addq.w D7, 1
00004A9C 0C47 000A cmpi.w D7, 0xA /* '\n' */
00004AA0 6FCE ble -0x30 /* 00004A70 */
label00004AA2:
00004AA2 2F0C move.l -[A7], A4
00004AA4 4EBA BADC jsr [PC - 0x4524 /* 00000582 */]
00004AA8 2F0C move.l -[A7], A4
00004AAA A915 syscall ShowWindow
00004AAC 584F addq.w A7, 4
label00004AAE:
00004AAE 486D 0272 pea.l [A5 + 0x272 /* export_74 */]
00004AB2 486E FEFE pea.l [A6 - 0x102]
00004AB6 A991 syscall ModalDialog
00004AB8 7004 moveq.l D0, 0x04
00004ABA B06E FEFE cmp.w D0, [A6 - 0x102]
00004ABE 6E22 bgt +0x24 /* 00004AE2 */
00004AC0 700A moveq.l D0, 0x0A
00004AC2 B06E FEFE cmp.w D0, [A6 - 0x102]
00004AC6 6D1A blt +0x1C /* 00004AE2 */
00004AC8 302E FEFE move.w D0, [A6 - 0x102]
00004ACC 48C0 ext.l D0
00004ACE 2F00 move.l -[A7], D0
00004AD0 700A moveq.l D0, 0x0A
00004AD2 2F00 move.l -[A7], D0
00004AD4 7204 moveq.l D1, 0x04
00004AD6 2F01 move.l -[A7], D1
00004AD8 2F0C move.l -[A7], A4
00004ADA 4EBA BEC6 jsr [PC - 0x413A /* 000009A2 */]
00004ADE 4FEF 0010 lea.l A7, [A7 + 0x10]
label00004AE2:
00004AE2 7001 moveq.l D0, 0x01
00004AE4 B06E FEFE cmp.w D0, [A6 - 0x102]
00004AE8 6708 beq +0xA /* 00004AF2 */
00004AEA 7002 moveq.l D0, 0x02
00004AEC B06E FEFE cmp.w D0, [A6 - 0x102]
00004AF0 66BC bne -0x42 /* 00004AAE */
label00004AF2:
00004AF2 7002 moveq.l D0, 0x02
00004AF4 B06E FEFE cmp.w D0, [A6 - 0x102]
00004AF8 6608 bne +0xA /* 00004B02 */
00004AFA 2F0C move.l -[A7], A4
00004AFC A983 syscall DisposeDialog
00004AFE 7000 moveq.l D0, 0x00
00004B00 602A bra +0x2C /* 00004B2C */
label00004B02:
00004B02 7E04 moveq.l D7, 0x04
label00004B04:
00004B04 48C7 ext.l D7
00004B06 2F07 move.l -[A7], D7
00004B08 2F0C move.l -[A7], A4
00004B0A 4EBA BD42 jsr [PC - 0x42BE /* 0000084E */]
00004B0E 4A40 tst.w D0
00004B10 504F addq.w A7, 8
00004B12 660A bne +0xC /* 00004B1E */
00004B14 3007 move.w D0, D7
00004B16 5247 addq.w D7, 1
00004B18 0C47 000A cmpi.w D7, 0xA /* '\n' */
00004B1C 6FE6 ble -0x18 /* 00004B04 */
label00004B1E:
00004B1E 3007 move.w D0, D7
00004B20 5940 subq.w D0, 4
00004B22 3B40 D338 move.w [A5 - 0x2CC8], D0
00004B26 2F0C move.l -[A7], A4
00004B28 A983 syscall DisposeDialog
00004B2A 7001 moveq.l D0, 0x01
label00004B2C:
00004B2C 4CEE 18F8 FED0 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x130]
00004B32 4E5E unlink A6
00004B34 4E75 rts
export_74:
00004B36 4E56 0000 link A6, 0
00004B3A 48E7 0018 movem.l -[A7], A3,A4
00004B3E 266E 000C movea.l A3, [A6 + 0xC]
00004B42 286E 0008 movea.l A4, [A6 + 0x8]
00004B46 2F0C move.l -[A7], A4
00004B48 2F0B move.l -[A7], A3
00004B4A 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004B4E 4EBA BBFE jsr [PC - 0x4402 /* 0000074E */]
00004B52 4A00 tst.b D0
00004B54 4FEF 000C lea.l A7, [A7 + 0xC]
00004B58 670A beq +0xC /* 00004B64 */
00004B5A 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00004B60 6000 00C2 bra +0xC4 /* 00004C24 */
label00004B64:
00004B64 7003 moveq.l D0, 0x03
00004B66 B053 cmp.w D0, [A3]
00004B68 6600 00B6 bne +0xB8 /* 00004C20 */
00004B6C 38BC FFFF move.w [A4], 0xFFFF
00004B70 203C 0000 00FF move.l D0, 0xFF
00004B76 C0AB 0002 and.l D0, [A3 + 0x2]
00004B7A 0480 0000 002E subi.l D0, 0x2E /* '.' */
00004B80 675C beq +0x5E /* 00004BDE */
00004B82 0480 0000 0013 subi.l D0, 0x13
00004B88 6732 beq +0x34 /* 00004BBC */
00004B8A 5580 subq.l D0, 2
00004B8C 674A beq +0x4C /* 00004BD8 */
00004B8E 5780 subq.l D0, 3
00004B90 672E beq +0x30 /* 00004BC0 */
00004B92 5380 subq.l D0, 1
00004B94 6730 beq +0x32 /* 00004BC6 */
00004B96 5D80 subq.l D0, 6
00004B98 6732 beq +0x34 /* 00004BCC */
00004B9A 5580 subq.l D0, 2
00004B9C 6734 beq +0x36 /* 00004BD2 */
00004B9E 0480 0000 0012 subi.l D0, 0x12
00004BA4 6716 beq +0x18 /* 00004BBC */
00004BA6 5580 subq.l D0, 2
00004BA8 672E beq +0x30 /* 00004BD8 */
00004BAA 5780 subq.l D0, 3
00004BAC 6712 beq +0x14 /* 00004BC0 */
00004BAE 5380 subq.l D0, 1
00004BB0 6714 beq +0x16 /* 00004BC6 */
00004BB2 5D80 subq.l D0, 6
00004BB4 6716 beq +0x18 /* 00004BCC */
00004BB6 5580 subq.l D0, 2
00004BB8 6718 beq +0x1A /* 00004BD2 */
00004BBA 6030 bra +0x32 /* 00004BEC */
label00004BBC:
00004BBC 4254 clr.w [A4]
00004BBE 602C bra +0x2E /* 00004BEC */
label00004BC0:
00004BC0 38BC 0001 move.w [A4], 0x1
00004BC4 6026 bra +0x28 /* 00004BEC */
label00004BC6:
00004BC6 38BC 0003 move.w [A4], 0x3
00004BCA 6020 bra +0x22 /* 00004BEC */
label00004BCC:
00004BCC 38BC 0004 move.w [A4], 0x4
00004BD0 601A bra +0x1C /* 00004BEC */
label00004BD2:
00004BD2 38BC 0005 move.w [A4], 0x5
00004BD6 6014 bra +0x16 /* 00004BEC */
label00004BD8:
00004BD8 38BC 0006 move.w [A4], 0x6
00004BDC 600E bra +0x10 /* 00004BEC */
label00004BDE:
00004BDE 303C 0100 move.w D0, 0x100
00004BE2 C06B 000E and.w D0, [A3 + 0xE]
00004BE6 6704 beq +0x6 /* 00004BEC */
00004BE8 38BC FFFE move.w [A4], 0xFFFE
label00004BEC:
00004BEC 70FF moveq.l D0, 0xFFFFFFFF
00004BEE B054 cmp.w D0, [A4]
00004BF0 672E beq +0x30 /* 00004C20 */
00004BF2 3014 move.w D0, [A4]
00004BF4 41ED D8A8 lea.l A0, [A5 - 0x2758]
00004BF8 4A30 0000 tst.b [A0 + D0.w]
00004BFC 6722 beq +0x24 /* 00004C20 */
00004BFE 5854 addq.w [A4], 4
00004C00 3014 move.w D0, [A4]
00004C02 48C0 ext.l D0
00004C04 2F00 move.l -[A7], D0
00004C06 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004C0A 4EBA BCBE jsr [PC - 0x4342 /* 000008CA */]
00004C0E 508F addq.l A7, 8
00004C10 2F00 move.l -[A7], D0
00004C12 4EBA F424 jsr [PC - 0xBDC /* 00004038 */]
00004C16 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00004C1C 584F addq.w A7, 4
00004C1E 6004 bra +0x6 /* 00004C24 */
label00004C20:
00004C20 422E 0014 clr.b [A6 + 0x14]
label00004C24:
00004C24 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00004C2A 4E5E unlink A6
00004C2C 205F movea.l A0, [A7]+
00004C2E 4FEF 000C lea.l A7, [A7 + 0xC]
00004C32 4ED0 jmp [A0]
fn00004C34:
00004C34 4E56 0000 link A6, 0
00004C38 2F0C move.l -[A7], A4
00004C3A 4A2D DB94 tst.b [A5 - 0x246C]
00004C3E 6610 bne +0x12 /* 00004C50 */
00004C40 206D DCA2 movea.l A0, [A5 - 0x235E]
00004C44 2050 movea.l A0, [A0]
00004C46 4228 0010 clr.b [A0 + 0x10]
00004C4A 286D DCB2 movea.l A4, [A5 - 0x234E]
00004C4E 600E bra +0x10 /* 00004C5E */
label00004C50:
00004C50 206D DCB2 movea.l A0, [A5 - 0x234E]
00004C54 2050 movea.l A0, [A0]
00004C56 4228 0010 clr.b [A0 + 0x10]
00004C5A 286D DCA2 movea.l A4, [A5 - 0x235E]
label00004C5E:
00004C5E 2F0C move.l -[A7], A4
00004C60 A957 syscall ShowControl
00004C62 4EAD 0432 jsr [A5 + 0x432 /* export_130 */]
00004C66 286E FFFC movea.l A4, [A6 - 0x4]
00004C6A 4E5E unlink A6
00004C6C 4E75 rts
fn00004C6E:
00004C6E 4E56 0000 link A6, 0
00004C72 2F0C move.l -[A7], A4
00004C74 4EAD 059A jsr [A5 + 0x59A /* export_175 */]
00004C78 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
00004C7C 4EAD 0592 jsr [A5 + 0x592 /* export_174 */]
00004C80 4EBA C47A jsr [PC - 0x3B86 /* 000010FC */]
label00004C84:
00004C84 598F subq.l A7, 4
00004C86 A924 syscall FrontWindow
00004C88 285F movea.l A4, [A7]+
00004C8A 200C move.l D0, A4
00004C8C 6708 beq +0xA /* 00004C96 */
00004C8E 2F0C move.l -[A7], A4
00004C90 4EBA ED62 jsr [PC - 0x129E /* 000039F4 */]
00004C94 584F addq.w A7, 4
label00004C96:
00004C96 200C move.l D0, A4
00004C98 66EA bne -0x14 /* 00004C84 */
00004C9A 4EAD 04B2 jsr [A5 + 0x4B2 /* export_146 */]
00004C9E 4EBA E0D4 jsr [PC - 0x1F2C /* 00002D74 */]
00004CA2 3B7C 0001 FDA6 move.w [A5 - 0x25A], 0x1
00004CA8 286E FFFC movea.l A4, [A6 - 0x4]
00004CAC 4E5E unlink A6
00004CAE 4E75 rts
fn00004CB0:
00004CB0 4E56 0000 link A6, 0
00004CB4 4E5E unlink A6
00004CB6 4E75 rts
export_75:
fn00004CB8:
00004CB8 4E56 0000 link A6, 0
00004CBC 2F07 move.l -[A7], D7
00004CBE 558F subq.l A7, 2
00004CC0 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
00004CC6 2F3C 6F61 7070 move.l -[A7], 0x6F617070 /* 'oapp' */
00004CCC 486D 028A pea.l [A5 + 0x28A /* export_77 */]
00004CD0 7000 moveq.l D0, 0x00
00004CD2 2F00 move.l -[A7], D0
00004CD4 7200 moveq.l D1, 0x00
00004CD6 1F01 move.b -[A7], D1
00004CD8 303C 091F move.w D0, 0x91F
00004CDC A816 syscall Pack8
00004CDE 3E1F move.w D7, [A7]+
00004CE0 670A beq +0xC /* 00004CEC */
00004CE2 48C7 ext.l D7
00004CE4 2F07 move.l -[A7], D7
00004CE6 4EBA FFC8 jsr [PC - 0x38 /* 00004CB0 */]
00004CEA 584F addq.w A7, 4
label00004CEC:
00004CEC 558F subq.l A7, 2
00004CEE 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
00004CF4 2F3C 6F64 6F63 move.l -[A7], 0x6F646F63 /* 'odoc' */
00004CFA 486D 0292 pea.l [A5 + 0x292 /* export_78 */]
00004CFE 7000 moveq.l D0, 0x00
00004D00 2F00 move.l -[A7], D0
00004D02 7200 moveq.l D1, 0x00
00004D04 1F01 move.b -[A7], D1
00004D06 303C 091F move.w D0, 0x91F
00004D0A A816 syscall Pack8
00004D0C 3E1F move.w D7, [A7]+
00004D0E 670A beq +0xC /* 00004D1A */
00004D10 48C7 ext.l D7
00004D12 2F07 move.l -[A7], D7
00004D14 4EBA FF9A jsr [PC - 0x66 /* 00004CB0 */]
00004D18 584F addq.w A7, 4
label00004D1A:
00004D1A 558F subq.l A7, 2
00004D1C 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
00004D22 2F3C 7064 6F63 move.l -[A7], 0x70646F63 /* 'pdoc' */
00004D28 486D 029A pea.l [A5 + 0x29A /* export_79 */]
00004D2C 7000 moveq.l D0, 0x00
00004D2E 2F00 move.l -[A7], D0
00004D30 7200 moveq.l D1, 0x00
00004D32 1F01 move.b -[A7], D1
00004D34 303C 091F move.w D0, 0x91F
00004D38 A816 syscall Pack8
00004D3A 3E1F move.w D7, [A7]+
00004D3C 670A beq +0xC /* 00004D48 */
00004D3E 48C7 ext.l D7
00004D40 2F07 move.l -[A7], D7
00004D42 4EBA FF6C jsr [PC - 0x94 /* 00004CB0 */]
00004D46 584F addq.w A7, 4
label00004D48:
00004D48 558F subq.l A7, 2
00004D4A 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */
00004D50 2F3C 7175 6974 move.l -[A7], 0x71756974 /* 'quit' */
00004D56 486D 02A2 pea.l [A5 + 0x2A2 /* export_80 */]
00004D5A 7000 moveq.l D0, 0x00
00004D5C 2F00 move.l -[A7], D0
00004D5E 7200 moveq.l D1, 0x00
00004D60 1F01 move.b -[A7], D1
00004D62 303C 091F move.w D0, 0x91F
00004D66 A816 syscall Pack8
00004D68 3E1F move.w D7, [A7]+
00004D6A 670A beq +0xC /* 00004D76 */
00004D6C 48C7 ext.l D7
00004D6E 2F07 move.l -[A7], D7
00004D70 4EBA FF3E jsr [PC - 0xC2 /* 00004CB0 */]
00004D74 584F addq.w A7, 4
label00004D76:
00004D76 558F subq.l A7, 2
00004D78 2F3C 616C 6973 move.l -[A7], 0x616C6973 /* 'alis' */
00004D7E 2F3C 6673 7320 move.l -[A7], 0x66737320 /* 'fss ' */
00004D84 486D 0282 pea.l [A5 + 0x282 /* export_76 */]
00004D88 7000 moveq.l D0, 0x00
00004D8A 2F00 move.l -[A7], D0
00004D8C 7201 moveq.l D1, 0x01
00004D8E 1F01 move.b -[A7], D1
00004D90 7000 moveq.l D0, 0x00
00004D92 1F00 move.b -[A7], D0
00004D94 303C 0A22 move.w D0, 0xA22 /* '\n\"' */
00004D98 A816 syscall Pack8
00004D9A 3E1F move.w D7, [A7]+
00004D9C 670A beq +0xC /* 00004DA8 */
00004D9E 48C7 ext.l D7
00004DA0 2F07 move.l -[A7], D7
00004DA2 4EBA FF0C jsr [PC - 0xF4 /* 00004CB0 */]
00004DA6 584F addq.w A7, 4
label00004DA8:
00004DA8 2E2E FFFC move.l D7, [A6 - 0x4]
00004DAC 4E5E unlink A6
00004DAE 4E75 rts
export_76:
00004DB0 4E56 FFB0 link A6, -0x0050
00004DB4 2F07 move.l -[A7], D7
00004DB6 206E 0014 movea.l A0, [A6 + 0x14]
00004DBA 43EE FFF8 lea.l A1, [A6 - 0x8]
00004DBE 22D8 move.l [A1]+, [A0]+
00004DC0 22D8 move.l [A1]+, [A0]+
00004DC2 558F subq.l A7, 2
00004DC4 7000 moveq.l D0, 0x00
00004DC6 2F00 move.l -[A7], D0
00004DC8 2F2E FFFC move.l -[A7], [A6 - 0x4]
00004DCC 486E FFB0 pea.l [A6 - 0x50]
00004DD0 486E FFF7 pea.l [A6 - 0x9]
00004DD4 7003 moveq.l D0, 0x03
00004DD6 A823 syscall AliasDispatch
00004DD8 3E1F move.w D7, [A7]+
00004DDA 661C bne +0x1E /* 00004DF8 */
00004DDC 558F subq.l A7, 2
00004DDE 2F3C 6673 7320 move.l -[A7], 0x66737320 /* 'fss ' */
00004DE4 486E FFB0 pea.l [A6 - 0x50]
00004DE8 7046 moveq.l D0, 0x46
00004DEA 2F00 move.l -[A7], D0
00004DEC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004DF0 303C 0825 move.w D0, 0x825
00004DF4 A816 syscall Pack8
00004DF6 3E1F move.w D7, [A7]+
label00004DF8:
00004DF8 3D47 0018 move.w [A6 + 0x18], D7
00004DFC 2E2E FFAC move.l D7, [A6 - 0x54]
00004E00 4E5E unlink A6
00004E02 205F movea.l A0, [A7]+
00004E04 4FEF 0010 lea.l A7, [A7 + 0x10]
00004E08 4ED0 jmp [A0]
fn00004E0A:
00004E0A 4E56 0000 link A6, 0
00004E0E 2F07 move.l -[A7], D7
00004E10 4A6D FDA4 tst.w [A5 - 0x25C]
00004E14 671A beq +0x1C /* 00004E30 */
00004E16 558F subq.l A7, 2
00004E18 486E 0008 pea.l [A6 + 0x8]
00004E1C 303C 021B move.w D0, 0x21B
00004E20 A816 syscall Pack8
00004E22 3E1F move.w D7, [A7]+
00004E24 670A beq +0xC /* 00004E30 */
00004E26 48C7 ext.l D7
00004E28 2F07 move.l -[A7], D7
00004E2A 4EBA FE84 jsr [PC - 0x17C /* 00004CB0 */]
00004E2E 584F addq.w A7, 4
label00004E30:
00004E30 2E2E FFFC move.l D7, [A6 - 0x4]
00004E34 4E5E unlink A6
00004E36 4E75 rts
fn00004E38:
00004E38 4E56 FFF8 link A6, -0x0008
00004E3C 2F07 move.l -[A7], D7
00004E3E 558F subq.l A7, 2
00004E40 486E 0008 pea.l [A6 + 0x8]
00004E44 2F3C 6D69 7373 move.l -[A7], 0x6D697373 /* 'miss' */
00004E4A 2F3C 2A2A 2A2A move.l -[A7], 0x2A2A2A2A /* '****' */
00004E50 486E FFF8 pea.l [A6 - 0x8]
00004E54 7000 moveq.l D0, 0x00
00004E56 2F00 move.l -[A7], D0
00004E58 2F00 move.l -[A7], D0
00004E5A 486E FFFC pea.l [A6 - 0x4]
00004E5E 303C 0E15 move.w D0, 0xE15
00004E62 A816 syscall Pack8
00004E64 3E1F move.w D7, [A7]+
00004E66 0C47 F95B cmpi.w D7, 0xF95B
00004E6A 6604 bne +0x6 /* 00004E70 */
00004E6C 7000 moveq.l D0, 0x00
00004E6E 600C bra +0xE /* 00004E7C */
label00004E70:
00004E70 4A47 tst.w D7
00004E72 6606 bne +0x8 /* 00004E7A */
00004E74 303C F954 move.w D0, 0xF954
00004E78 6002 bra +0x4 /* 00004E7C */
label00004E7A:
00004E7A 3007 move.w D0, D7
label00004E7C:
00004E7C 2E2E FFF4 move.l D7, [A6 - 0xC]
00004E80 4E5E unlink A6
00004E82 4E75 rts
export_77:
00004E84 4E56 FFF0 link A6, -0x0010
00004E88 2F07 move.l -[A7], D7
00004E8A 206E 0010 movea.l A0, [A6 + 0x10]
00004E8E 43EE FFF0 lea.l A1, [A6 - 0x10]
00004E92 22D8 move.l [A1]+, [A0]+
00004E94 22D8 move.l [A1]+, [A0]+
00004E96 206E 000C movea.l A0, [A6 + 0xC]
00004E9A 43EE FFF8 lea.l A1, [A6 - 0x8]
00004E9E 22D8 move.l [A1]+, [A0]+
00004EA0 22D8 move.l [A1]+, [A0]+
00004EA2 41EE FFF8 lea.l A0, [A6 - 0x8]
00004EA6 2F20 move.l -[A7], -[A0]
00004EA8 2F20 move.l -[A7], -[A0]
00004EAA 4EBA FF8C jsr [PC - 0x74 /* 00004E38 */]
00004EAE 3E00 move.w D7, D0
00004EB0 6706 beq +0x8 /* 00004EB8 */
00004EB2 3D47 0014 move.w [A6 + 0x14], D7
00004EB6 6004 bra +0x6 /* 00004EBC */
label00004EB8:
00004EB8 426E 0014 clr.w [A6 + 0x14]
label00004EBC:
00004EBC 2E2E FFEC move.l D7, [A6 - 0x14]
00004EC0 4E5E unlink A6
00004EC2 205F movea.l A0, [A7]+
00004EC4 4FEF 000C lea.l A7, [A7 + 0xC]
00004EC8 4ED0 jmp [A0]
export_78:
00004ECA 4E56 FE82 link A6, -0x017E
00004ECE 48E7 0308 movem.l -[A7], D6,D7,A4
00004ED2 49EE FEF0 lea.l A4, [A6 - 0x110]
00004ED6 206E 0010 movea.l A0, [A6 + 0x10]
00004EDA 43EE FFF0 lea.l A1, [A6 - 0x10]
00004EDE 22D8 move.l [A1]+, [A0]+
00004EE0 22D8 move.l [A1]+, [A0]+
00004EE2 206E 000C movea.l A0, [A6 + 0xC]
00004EE6 43EE FFF8 lea.l A1, [A6 - 0x8]
00004EEA 22D8 move.l [A1]+, [A0]+
00004EEC 22D8 move.l [A1]+, [A0]+
00004EEE 558F subq.l A7, 2
00004EF0 486E FFF0 pea.l [A6 - 0x10]
00004EF4 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
00004EFA 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
00004F00 486E FEC8 pea.l [A6 - 0x138]
00004F04 303C 0812 move.w D0, 0x812
00004F08 A816 syscall Pack8
00004F0A 3E1F move.w D7, [A7]+
00004F0C 670A beq +0xC /* 00004F18 */
00004F0E 48C7 ext.l D7
00004F10 2F07 move.l -[A7], D7
00004F12 4EBA FD9C jsr [PC - 0x264 /* 00004CB0 */]
00004F16 584F addq.w A7, 4
label00004F18:
00004F18 41EE FFF8 lea.l A0, [A6 - 0x8]
00004F1C 2F20 move.l -[A7], -[A0]
00004F1E 2F20 move.l -[A7], -[A0]
00004F20 4EBA FF16 jsr [PC - 0xEA /* 00004E38 */]
00004F24 3E00 move.w D7, D0
00004F26 504F addq.w A7, 8
00004F28 6708 beq +0xA /* 00004F32 */
00004F2A 3D47 0014 move.w [A6 + 0x14], D7
00004F2E 6000 00DE bra +0xE0 /* 0000500E */
label00004F32:
00004F32 558F subq.l A7, 2
00004F34 486E FEC8 pea.l [A6 - 0x138]
00004F38 486E FED0 pea.l [A6 - 0x130]
00004F3C 303C 0407 move.w D0, 0x407
00004F40 A816 syscall Pack8
00004F42 3E1F move.w D7, [A7]+
00004F44 7C01 moveq.l D6, 0x01
00004F46 6000 00AC bra +0xAE /* 00004FF4 */
label00004F4A:
00004F4A 558F subq.l A7, 2
00004F4C 486E FEC8 pea.l [A6 - 0x138]
00004F50 2F06 move.l -[A7], D6
00004F52 2F3C 6673 7320 move.l -[A7], 0x66737320 /* 'fss ' */
00004F58 486E FED8 pea.l [A6 - 0x128]
00004F5C 486E FEDC pea.l [A6 - 0x124]
00004F60 486E FE82 pea.l [A6 - 0x17E]
00004F64 7046 moveq.l D0, 0x46
00004F66 2F00 move.l -[A7], D0
00004F68 486E FED4 pea.l [A6 - 0x12C]
00004F6C 303C 100A move.w D0, 0x100A
00004F70 A816 syscall Pack8
00004F72 3E1F move.w D7, [A7]+
00004F74 670A beq +0xC /* 00004F80 */
00004F76 48C7 ext.l D7
00004F78 2F07 move.l -[A7], D7
00004F7A 4EBA FD34 jsr [PC - 0x2CC /* 00004CB0 */]
00004F7E 584F addq.w A7, 4
label00004F80:
00004F80 558F subq.l A7, 2
00004F82 3F2E FE82 move.w -[A7], [A6 - 0x17E]
00004F86 2F2E FE84 move.l -[A7], [A6 - 0x17C]
00004F8A 486E FE88 pea.l [A6 - 0x178]
00004F8E 486E FEE0 pea.l [A6 - 0x120]
00004F92 4EBA 0B3A jsr [PC + 0xB3A /* 00005ACE */]
00004F96 3E1F move.w D7, [A7]+
00004F98 0CAE 534D 4346 FEE0 cmpi.l [A6 - 0x120], 0x534D4346 /* 'SMCF' */
00004FA0 6618 bne +0x1A /* 00004FBA */
00004FA2 41ED D71E lea.l A0, [A5 - 0x28E2]
00004FA6 43EE FE82 lea.l A1, [A6 - 0x17E]
00004FAA 7010 moveq.l D0, 0x10
label00004FAC:
00004FAC 20D9 move.l [A0]+, [A1]+
00004FAE 51C8 FFFC dbf D0, -0x6 /* 00004FAC */
00004FB2 30D9 move.w [A0]+, [A1]+
00004FB4 4EBA BF1A jsr [PC - 0x40E6 /* 00000ED0 */]
00004FB8 6042 bra +0x44 /* 00004FFC */
label00004FBA:
00004FBA 0CAE 534D 4446 FEE0 cmpi.l [A6 - 0x120], 0x534D4446 /* 'SMDF' */
00004FC2 6738 beq +0x3A /* 00004FFC */
00004FC4 558F subq.l A7, 2
00004FC6 2F3C 7FFF FFFF move.l -[A7], 0x7FFFFFFF
00004FCC 7000 moveq.l D0, 0x00
00004FCE 2F00 move.l -[A7], D0
00004FD0 486D 026A pea.l [A5 + 0x26A /* export_73 */]
00004FD4 303C 061C move.w D0, 0x61C
00004FD8 A816 syscall Pack8
00004FDA 3E1F move.w D7, [A7]+
00004FDC 2F0C move.l -[A7], A4
00004FDE 3F3C 0FA0 move.w -[A7], 0xFA0
00004FE2 7012 moveq.l D0, 0x12
00004FE4 3F00 move.w -[A7], D0
00004FE6 4EBA 0BF8 jsr [PC + 0xBF8 /* 00005BE0 */]
00004FEA 2F0C move.l -[A7], A4
00004FEC 4EBA BA4E jsr [PC - 0x45B2 /* 00000A3C */]
00004FF0 584F addq.w A7, 4
00004FF2 6008 bra +0xA /* 00004FFC */
label00004FF4:
00004FF4 BCAE FED0 cmp.l D6, [A6 - 0x130]
00004FF8 6F00 FF50 ble -0xAE /* 00004F4A */
label00004FFC:
00004FFC 558F subq.l A7, 2
00004FFE 486E FEC8 pea.l [A6 - 0x138]
00005002 303C 0204 move.w D0, 0x204
00005006 A816 syscall Pack8
00005008 3E1F move.w D7, [A7]+
0000500A 3D47 0014 move.w [A6 + 0x14], D7
label0000500E:
0000500E 4CEE 10C0 FE76 movem.l D6,D7,A4, [A6 - 0x18A]
00005014 4E5E unlink A6
00005016 205F movea.l A0, [A7]+
00005018 4FEF 000C lea.l A7, [A7 + 0xC]
0000501C 4ED0 jmp [A0]
export_79:
0000501E 4E56 FEE8 link A6, -0x0118
00005022 48E7 0108 movem.l -[A7], D7,A4
00005026 49EE FEF0 lea.l A4, [A6 - 0x110]
0000502A 206E 0010 movea.l A0, [A6 + 0x10]
0000502E 43EE FFF0 lea.l A1, [A6 - 0x10]
00005032 22D8 move.l [A1]+, [A0]+
00005034 22D8 move.l [A1]+, [A0]+
00005036 206E 000C movea.l A0, [A6 + 0xC]
0000503A 43EE FFF8 lea.l A1, [A6 - 0x8]
0000503E 22D8 move.l [A1]+, [A0]+
00005040 22D8 move.l [A1]+, [A0]+
00005042 558F subq.l A7, 2
00005044 486E FFF0 pea.l [A6 - 0x10]
00005048 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
0000504E 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
00005054 486E FEE8 pea.l [A6 - 0x118]
00005058 303C 0812 move.w D0, 0x812
0000505C A816 syscall Pack8
0000505E 3E1F move.w D7, [A7]+
00005060 670A beq +0xC /* 0000506C */
00005062 48C7 ext.l D7
00005064 2F07 move.l -[A7], D7
00005066 4EBA FC48 jsr [PC - 0x3B8 /* 00004CB0 */]
0000506A 584F addq.w A7, 4
label0000506C:
0000506C 41EE FFF8 lea.l A0, [A6 - 0x8]
00005070 2F20 move.l -[A7], -[A0]
00005072 2F20 move.l -[A7], -[A0]
00005074 4EBA FDC2 jsr [PC - 0x23E /* 00004E38 */]
00005078 3E00 move.w D7, D0
0000507A 504F addq.w A7, 8
0000507C 6706 beq +0x8 /* 00005084 */
0000507E 3D47 0014 move.w [A6 + 0x14], D7
00005082 6040 bra +0x42 /* 000050C4 */
label00005084:
00005084 558F subq.l A7, 2
00005086 2F3C 7FFF FFFF move.l -[A7], 0x7FFFFFFF
0000508C 7000 moveq.l D0, 0x00
0000508E 2F00 move.l -[A7], D0
00005090 486D 026A pea.l [A5 + 0x26A /* export_73 */]
00005094 303C 061C move.w D0, 0x61C
00005098 A816 syscall Pack8
0000509A 3E1F move.w D7, [A7]+
0000509C 2F0C move.l -[A7], A4
0000509E 3F3C 0FA0 move.w -[A7], 0xFA0
000050A2 7008 moveq.l D0, 0x08
000050A4 3F00 move.w -[A7], D0
000050A6 4EBA 0B38 jsr [PC + 0xB38 /* 00005BE0 */]
000050AA 2F0C move.l -[A7], A4
000050AC 4EBA B98E jsr [PC - 0x4672 /* 00000A3C */]
000050B0 558F subq.l A7, 2
000050B2 486E FEE8 pea.l [A6 - 0x118]
000050B6 303C 0204 move.w D0, 0x204
000050BA A816 syscall Pack8
000050BC 3E1F move.w D7, [A7]+
000050BE 426E 0014 clr.w [A6 + 0x14]
000050C2 584F addq.w A7, 4
label000050C4:
000050C4 4CEE 1080 FEE0 movem.l D7,A4, [A6 - 0x120]
000050CA 4E5E unlink A6
000050CC 205F movea.l A0, [A7]+
000050CE 4FEF 000C lea.l A7, [A7 + 0xC]
000050D2 4ED0 jmp [A0]
export_80:
000050D4 4E56 FFF0 link A6, -0x0010
000050D8 2F07 move.l -[A7], D7
000050DA 206E 0010 movea.l A0, [A6 + 0x10]
000050DE 43EE FFF0 lea.l A1, [A6 - 0x10]
000050E2 22D8 move.l [A1]+, [A0]+
000050E4 22D8 move.l [A1]+, [A0]+
000050E6 206E 000C movea.l A0, [A6 + 0xC]
000050EA 43EE FFF8 lea.l A1, [A6 - 0x8]
000050EE 22D8 move.l [A1]+, [A0]+
000050F0 22D8 move.l [A1]+, [A0]+
000050F2 41EE FFF8 lea.l A0, [A6 - 0x8]
000050F6 2F20 move.l -[A7], -[A0]
000050F8 2F20 move.l -[A7], -[A0]
000050FA 4EBA FD3C jsr [PC - 0x2C4 /* 00004E38 */]
000050FE 3E00 move.w D7, D0
00005100 504F addq.w A7, 8
00005102 6706 beq +0x8 /* 0000510A */
00005104 3D47 0014 move.w [A6 + 0x14], D7
00005108 604C bra +0x4E /* 00005156 */
label0000510A:
0000510A 4EAD 05BA jsr [A5 + 0x5BA /* export_179 */]
0000510E 4EAD 059A jsr [A5 + 0x59A /* export_175 */]
00005112 7064 moveq.l D0, 0x64
00005114 2F00 move.l -[A7], D0
00005116 4EBA E33C jsr [PC - 0x1CC4 /* 00003454 */]
0000511A 3E00 move.w D7, D0
0000511C 0C47 0004 cmpi.w D7, 0x4
00005120 584F addq.w A7, 4
00005122 670C beq +0xE /* 00005130 */
00005124 0C47 0006 cmpi.w D7, 0x6
00005128 6706 beq +0x8 /* 00005130 */
0000512A 0C47 0005 cmpi.w D7, 0x5
0000512E 661E bne +0x20 /* 0000514E */
label00005130:
00005130 4EAD 06C2 jsr [A5 + 0x6C2 /* export_212 */]
00005134 4A00 tst.b D0
00005136 660C bne +0xE /* 00005144 */
00005138 486D 06C2 pea.l [A5 + 0x6C2 /* export_212 */]
0000513C A9F1 syscall UnloadSeg
0000513E 426E 0014 clr.w [A6 + 0x14]
00005142 6012 bra +0x14 /* 00005156 */
label00005144:
00005144 7001 moveq.l D0, 0x01
00005146 2F00 move.l -[A7], D0
00005148 4EAD 06BA jsr [A5 + 0x6BA /* export_211 */]
0000514C 584F addq.w A7, 4
label0000514E:
0000514E 4EBA FB1E jsr [PC - 0x4E2 /* 00004C6E */]
00005152 426E 0014 clr.w [A6 + 0x14]
label00005156:
00005156 2E2E FFEC move.l D7, [A6 - 0x14]
0000515A 4E5E unlink A6
0000515C 205F movea.l A0, [A7]+
0000515E 4FEF 000C lea.l A7, [A7 + 0xC]
00005162 4ED0 jmp [A0]
export_0:
00005164 2057 movea.l A0, [A7]
00005166 42A7 clr.l -[A7]
00005168 486D FDB0 pea.l [A5 - 0x250]
0000516C 486D FDAC pea.l [A5 - 0x254]
00005170 486D FDA8 pea.l [A5 - 0x258]
00005174 2F08 move.l -[A7], A0
00005176 4EBA 0190 jsr [PC + 0x190 /* 00005308 */]
0000517A 72FF moveq.l D1, 0xFFFFFFFF
0000517C B041 cmp.w D0, D1
0000517E 672E beq +0x30 /* 000051AE */
00005180 588F addq.l A7, 4
00005182 4FEF 0010 lea.l A7, [A7 + 0x10]
00005186 486D FFD0 pea.l [A5 - 0x30]
0000518A 4EBA 04B4 jsr [PC + 0x4B4 /* 00005640 */]
0000518E 584F addq.w A7, 4
00005190 4A80 tst.l D0
00005192 6624 bne +0x26 /* 000051B8 */
00005194 2F2D FDB0 move.l -[A7], [A5 - 0x250]
00005198 2F2D FDAC move.l -[A7], [A5 - 0x254]
0000519C 2F2D FDA8 move.l -[A7], [A5 - 0x258]
000051A0 4EBA E5CC jsr [PC - 0x1A34 /* 0000376E */]
000051A4 4FEF 000C lea.l A7, [A7 + 0xC]
000051A8 2F00 move.l -[A7], D0
000051AA 4EBA 0354 jsr [PC + 0x354 /* 00005500 */]
label000051AE:
000051AE 487A 000A pea.l [PC + 0xA /* 000051BA, value 0x1B446174, pstring "Data initialization failed!" */]
000051B2 303C FE15 move.w D0, 0xFE15
000051B6 A9C9 syscall SysError
label000051B8:
000051B8 4E75 rts
000051BA 1B44 6174 move.b [A5 + 0x6174], D4
000051BE 6120 bsr +0x22 /* 000051E0 */
000051C0 696E bvs +0x70 /* 00005230 */
000051C2 6974 bvs +0x76 /* 00005238 */
000051C4 6961 bvs +0x63 /* 00005227 */
000051C6 6C69 bge +0x6B /* 00005231 */
000051C8 7A61 moveq.l D5, 0x61
000051CA 7469 moveq.l D2, 0x69
000051CC 6F6E ble +0x70 /* 0000523C */
000051CE 2066 movea.l A0, -[A6]
000051D0 6169 bsr +0x6B /* 0000523B */
000051D2 6C65 bge +0x67 /* 00005239 */
000051D4 6421 bcc +0x23 /* 000051F7 */
fn000051D6:
000051D6 4E56 FFFC link A6, -0x0004
000051DA 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000051DE 4AAD FED6 tst.l [A5 - 0x12A]
// begin alternate branch 000051E0-000051EE
fn000051E0:
000051E0 FED6 6600 .extension 0xED6 <<F/2-3/7>> // unimplemented
000051E4 008C 598F 2F3C ori.l A4, 0x598F2F3C
000051EA 434F chk.w D1, A7
000051EC 4445 neg.w D5
// end alternate branch 000051E0-000051EE
fn000051E0: // (misaligned)
000051E2 6600 008C bne +0x8E /* 00005270 */
000051E6 598F subq.l A7, 4
000051E8 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000051EE 486D FE82 pea.l [A5 - 0x17E]
000051F2 A820 syscall Get1NamedResource
000051F4 265F movea.l A3, [A7]+
000051F6 200B move.l D0, A3
000051F8 6776 beq +0x78 /* 00005270 */
000051FA 558F subq.l A7, 2
000051FC A994 syscall CurResFile
000051FE 558F subq.l A7, 2
00005200 2F0B move.l -[A7], A3
00005202 A9A4 syscall HomeResFile
00005204 301F move.w D0, [A7]+
00005206 B05F cmp.w D0, [A7]+
00005208 6666 bne +0x68 /* 00005270 */
0000520A 41ED 02AA lea.l A0, [A5 + 0x2AA /* export_81 */]
0000520E 226D FEF4 movea.l A1, [A5 - 0x10C]
00005212 2348 000C move.l [A1 + 0xC], A0
00005216 2D4B FFFC move.l [A6 - 0x4], A3
0000521A 598F subq.l A7, 4
0000521C 2F0B move.l -[A7], A3
0000521E 4EBA 0448 jsr [PC + 0x448 /* 00005668 */]
00005222 201F move.l D0, [A7]+
00005224 5980 subq.l D0, 4
00005226 7204 moveq.l D1, 0x04
00005228 4EBA 0388 jsr [PC + 0x388 /* 000055B2 */]
0000522C 2C00 move.l D6, D0
0000522E 7000 moveq.l D0, 0x00
label00005230:
00005230 2840 movea.l A4, D0
00005232 602A bra +0x2C /* 0000525E */
label00005234:
00005234 2F0B move.l -[A7], A3
00005236 A9A2 syscall LoadResource
label00005238:
00005238 206E FFFC movea.l A0, [A6 - 0x4]
label0000523C:
0000523C 2050 movea.l A0, [A0]
0000523E 202D FED6 move.l D0, [A5 - 0x12A]
00005242 E580 asl D0, 2
00005244 3030 0804 move.w D0, [A0 + D0 + 0x4]
00005248 48C0 ext.l D0
0000524A 2E00 move.l D7, D0
0000524C 6708 beq +0xA /* 00005256 */
0000524E 200D move.l D0, A5
00005250 2840 movea.l A4, D0
00005252 D9C7 add.l A4, D7
00005254 4E94 jsr [A4]
label00005256:
00005256 202D FED6 move.l D0, [A5 - 0x12A]
0000525A 52AD FED6 addq.l [A5 - 0x12A], 1
label0000525E:
0000525E BCAD FED6 cmp.l D6, [A5 - 0x12A]
00005262 6ED0 bgt -0x2E /* 00005234 */
00005264 200C move.l D0, A4
00005266 6704 beq +0x6 /* 0000526C */
00005268 2F0C move.l -[A7], A4
0000526A A9F1 syscall UnloadSeg
label0000526C:
0000526C 2F0B move.l -[A7], A3
0000526E A9A3 syscall ReleaseResource
label00005270:
00005270 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00005276 4E5E unlink A6
00005278 4E75 rts
0000527A 8B5F or.w [A7]+, D5
0000527C 5F43 subq.w D3, 7
0000527E 706C moveq.l D0, 0x6C
00005280 7573 moveq.l D2, 0x73
00005282 496E 6974 chk.w D4, [A6 + 0x6974]
00005286 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_81: // at 00005288 (misaligned)
0000528A FFFC .invalid <<F/7/7>>
0000528C 48E7 0118 movem.l -[A7], D7,A3,A4
00005290 4AAD FED6 tst.l [A5 - 0x12A]
00005294 675C beq +0x5E /* 000052F2 */
00005296 598F subq.l A7, 4
00005298 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
0000529E 486D FEAC pea.l [A5 - 0x154]
000052A2 A9A1 syscall GetNamedResource
000052A4 265F movea.l A3, [A7]+
000052A6 200B move.l D0, A3
000052A8 6748 beq +0x4A /* 000052F2 */
000052AA 558F subq.l A7, 2
000052AC A994 syscall CurResFile
000052AE 558F subq.l A7, 2
000052B0 2F0B move.l -[A7], A3
000052B2 A9A4 syscall HomeResFile
000052B4 301F move.w D0, [A7]+
000052B6 B05F cmp.w D0, [A7]+
000052B8 6638 bne +0x3A /* 000052F2 */
000052BA 2D4B FFFC move.l [A6 - 0x4], A3
000052BE 6028 bra +0x2A /* 000052E8 */
label000052C0:
000052C0 2F0B move.l -[A7], A3
000052C2 A9A2 syscall LoadResource
000052C4 53AD FED6 subq.l [A5 - 0x12A], 1
000052C8 206E FFFC movea.l A0, [A6 - 0x4]
000052CC 2050 movea.l A0, [A0]
000052CE 202D FED6 move.l D0, [A5 - 0x12A]
000052D2 E580 asl D0, 2
000052D4 3030 0806 move.w D0, [A0 + D0 + 0x6]
000052D8 48C0 ext.l D0
000052DA 2E00 move.l D7, D0
000052DC 200D move.l D0, A5
000052DE 2840 movea.l A4, D0
000052E0 D9C7 add.l A4, D7
000052E2 4A87 tst.l D7
000052E4 6702 beq +0x4 /* 000052E8 */
000052E6 4E94 jsr [A4]
label000052E8:
000052E8 4AAD FED6 tst.l [A5 - 0x12A]
000052EC 6ED2 bgt -0x2C /* 000052C0 */
000052EE 2F0B move.l -[A7], A3
000052F0 A9A3 syscall ReleaseResource
label000052F2:
000052F2 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
000052F8 4E5E unlink A6
000052FA 4E75 rts
000052FC 8964 or.w -[A4], D4
000052FE 746F moveq.l D2, 0x6F
00005300 7273 moveq.l D1, 0x73
00005302 5F5F subq.w [A7]+, 7
00005304 4676 0000 not.w [A6 + D0.w]
fn00005308:
00005308 4E56 0000 link A6, 0
0000530C 48E7 1338 movem.l -[A7], D3,D6,D7,A2,A3,A4
00005310 2C2E 0018 move.l D6, [A6 + 0x18]
00005314 266E 000C movea.l A3, [A6 + 0xC]
00005318 4EAD 06F2 jsr [A5 + 0x6F2 /* export_218 */]
0000531C 4A80 tst.l D0
0000531E 6706 beq +0x8 /* 00005326 */
00005320 70FF moveq.l D0, 0xFFFFFFFF
00005322 6000 01C8 bra +0x1CA /* 000054EC */
label00005326:
00005326 206D FEF4 movea.l A0, [A5 - 0x10C]
0000532A 20AE 0008 move.l [A0], [A6 + 0x8]
0000532E 7001 moveq.l D0, 0x01
00005330 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
00005334 672C beq +0x2E /* 00005362 */
00005336 7201 moveq.l D1, 0x01
00005338 C2B8 0316 and.l D1, [0x00000316 /* HpChk/MacPgm */]
0000533C 6624 bne +0x26 /* 00005362 */
0000533E 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005342 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
00005348 6618 bne +0x1A /* 00005362 */
0000534A 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000534E 4AA8 0004 tst.l [A0 + 0x4]
00005352 670E beq +0x10 /* 00005362 */
00005354 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005358 2068 0004 movea.l A0, [A0 + 0x4]
0000535C 4A50 tst.w [A0]
0000535E 6702 beq +0x4 /* 00005362 */
00005360 7000 moveq.l D0, 0x00
label00005362:
00005362 4880 ext.w D0
00005364 48C0 ext.l D0
00005366 2B40 FEDA move.l [A5 - 0x126], D0
0000536A 6760 beq +0x62 /* 000053CC */
0000536C 41ED FFAE lea.l A0, [A5 - 0x52]
00005370 43F8 0910 lea.l A1, [0x00000910 /* CurApName */]
00005374 7007 moveq.l D0, 0x07
label00005376:
00005376 20D9 move.l [A0]+, [A1]+
00005378 51C8 FFFC dbf D0, -0x6 /* 00005376 */
0000537C 30D9 move.w [A0]+, [A1]+
0000537E 41ED FFAE lea.l A0, [A5 - 0x52]
00005382 226D FEE4 movea.l A1, [A5 - 0x11C]
00005386 2288 move.l [A1], A0
00005388 4A86 tst.l D6
0000538A 660E bne +0x10 /* 0000539A */
0000538C 598F subq.l A7, 4
0000538E 206D FEE4 movea.l A0, [A5 - 0x11C]
00005392 2F10 move.l -[A7], [A0]
00005394 4EBA 0C7A jsr [PC + 0xC7A /* 00006010 */]
00005398 584F addq.w A7, 4
label0000539A:
0000539A 200B move.l D0, A3
0000539C 6704 beq +0x6 /* 000053A2 */
0000539E 7001 moveq.l D0, 0x01
000053A0 2680 move.l [A3], D0
label000053A2:
000053A2 4AAE 0010 tst.l [A6 + 0x10]
000053A6 6708 beq +0xA /* 000053B0 */
000053A8 206E 0010 movea.l A0, [A6 + 0x10]
000053AC 20AD FEE4 move.l [A0], [A5 - 0x11C]
label000053B0:
000053B0 4AAE 0014 tst.l [A6 + 0x14]
000053B4 6708 beq +0xA /* 000053BE */
000053B6 206E 0014 movea.l A0, [A6 + 0x14]
000053BA 20AD FEE8 move.l [A0], [A5 - 0x118]
label000053BE:
000053BE 4EBA FE16 jsr [PC - 0x1EA /* 000051D6 */]
000053C2 7001 moveq.l D0, 0x01
000053C4 2B40 FEDA move.l [A5 - 0x126], D0
000053C8 6000 0122 bra +0x124 /* 000054EC */
label000053CC:
000053CC 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000053D0 2068 0004 movea.l A0, [A0 + 0x4]
000053D4 302D FEDE move.w D0, [A5 - 0x122]
000053D8 B050 cmp.w D0, [A0]
000053DA 670C beq +0xE /* 000053E8 */
000053DC 2F3C 8000 0000 move.l -[A7], 0x80000000
000053E2 4EBA 013C jsr [PC + 0x13C /* 00005520 */]
000053E6 584F addq.w A7, 4
label000053E8:
000053E8 41ED FEDE lea.l A0, [A5 - 0x122]
000053EC 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
000053F0 2269 0004 movea.l A1, [A1 + 0x4]
000053F4 2348 0024 move.l [A1 + 0x24], A0
000053F8 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000053FC 2B68 0004 FF02 move.l [A5 - 0xFE], [A0 + 0x4]
00005402 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005406 2068 0004 movea.l A0, [A0 + 0x4]
0000540A 2B68 0002 FEE0 move.l [A5 - 0x120], [A0 + 0x2]
00005410 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005414 2068 0004 movea.l A0, [A0 + 0x4]
00005418 2B68 0006 FEE4 move.l [A5 - 0x11C], [A0 + 0x6]
0000541E 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005422 2068 0004 movea.l A0, [A0 + 0x4]
00005426 2B68 000A FEE8 move.l [A5 - 0x118], [A0 + 0xA]
0000542C 4A86 tst.l D6
0000542E 672C beq +0x2E /* 0000545C */
00005430 286D FEE4 movea.l A4, [A5 - 0x11C]
00005434 600C bra +0xE /* 00005442 */
label00005436:
00005436 598F subq.l A7, 4
00005438 2F14 move.l -[A7], [A4]
0000543A 4EBA 0B9E jsr [PC + 0xB9E /* 00005FDA */]
0000543E 584F addq.w A7, 4
00005440 584C addq.w A4, 4
label00005442:
00005442 4A94 tst.l [A4]
00005444 66F0 bne -0xE /* 00005436 */
00005446 286D FEE8 movea.l A4, [A5 - 0x118]
0000544A 600C bra +0xE /* 00005458 */
label0000544C:
0000544C 598F subq.l A7, 4
0000544E 2F14 move.l -[A7], [A4]
00005450 4EBA 0B88 jsr [PC + 0xB88 /* 00005FDA */]
00005454 584F addq.w A7, 4
00005456 584C addq.w A4, 4
label00005458:
00005458 4A94 tst.l [A4]
0000545A 66F0 bne -0xE /* 0000544C */
label0000545C:
0000545C 200B move.l D0, A3
0000545E 6704 beq +0x6 /* 00005464 */
00005460 26AD FEE0 move.l [A3], [A5 - 0x120]
label00005464:
00005464 4AAE 0010 tst.l [A6 + 0x10]
00005468 6708 beq +0xA /* 00005472 */
0000546A 206E 0010 movea.l A0, [A6 + 0x10]
0000546E 20AD FEE4 move.l [A0], [A5 - 0x11C]
label00005472:
00005472 4AAE 0014 tst.l [A6 + 0x14]
00005476 6708 beq +0xA /* 00005480 */
00005478 206E 0014 movea.l A0, [A6 + 0x14]
0000547C 20AD FEE8 move.l [A0], [A5 - 0x118]
label00005480:
00005480 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00005484 2068 0004 movea.l A0, [A0 + 0x4]
00005488 4AA8 0020 tst.l [A0 + 0x20]
0000548C 6754 beq +0x56 /* 000054E2 */
0000548E 7078 moveq.l D0, 0x78
00005490 A11E syscall NewPtr, flags=1
00005492 2B48 FEFE move.l [A5 - 0x102], A0
00005496 660A bne +0xC /* 000054A2 */
00005498 7002 moveq.l D0, 0x02
0000549A 2F00 move.l -[A7], D0
0000549C 4EBA 0082 jsr [PC + 0x82 /* 00005520 */]
000054A0 584F addq.w A7, 4
label000054A2:
000054A2 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000054A6 2068 0004 movea.l A0, [A0 + 0x4]
000054AA 2668 0020 movea.l A3, [A0 + 0x20]
000054AE 7E00 moveq.l D7, 0x00
000054B0 7605 moveq.l D3, 0x05
label000054B2:
000054B2 2207 move.l D1, D7
000054B4 2001 move.l D0, D1
000054B6 C2FC 0018 mulu.w D1, 0x18
000054BA 4840 swap.w D0
000054BC C0FC 0018 mulu.w D0, 0x18
000054C0 4840 swap.w D0
000054C2 4240 clr.w D0
000054C4 D280 add.l D1, D0
000054C6 2C01 move.l D6, D1
000054C8 206D FEFE movea.l A0, [A5 - 0x102]
000054CC 43F3 6800 lea.l A1, [A3 + D6]
000054D0 45F0 6800 lea.l A2, [A0 + D6]
000054D4 7005 moveq.l D0, 0x05
label000054D6:
000054D6 24D9 move.l [A2]+, [A1]+
000054D8 51C8 FFFC dbf D0, -0x6 /* 000054D6 */
000054DC 5287 addq.l D7, 1
000054DE B687 cmp.l D3, D7
000054E0 6ED0 bgt -0x2E /* 000054B2 */
label000054E2:
000054E2 4EBA FCF2 jsr [PC - 0x30E /* 000051D6 */]
000054E6 7000 moveq.l D0, 0x00
000054E8 2B40 FEDA move.l [A5 - 0x126], D0
label000054EC:
000054EC 4CEE 1CC8 FFE8 movem.l D3,D6,D7,A2,A3,A4, [A6 - 0x18]
000054F2 4E5E unlink A6
000054F4 4E75 rts
000054F6 875F or.w [A7]+, D3
000054F8 5254 addq.w [A4], 1
000054FA 496E 6974 chk.w D4, [A6 + 0x6974]
000054FE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005500-0000550A
fn00005500:
00005500 4E56 0000 link A6, 0
00005504 203C 00FF FFFF move.l D0, 0xFFFFFF
// end alternate branch 00005500-0000550A
fn00005500: // (misaligned)
00005502 0000 203C ori.b D0, 0x3C /* '<' */
00005506 00FF .incomplete
00005508 FFFF .invalid <<F/7/7>>
0000550A C0AE 0008 and.l D0, [A6 + 0x8]
0000550E 2F00 move.l -[A7], D0
00005510 4EBA 000E jsr [PC + 0xE /* 00005520 */]
00005514 4E5E unlink A6
00005516 4E75 rts
00005518 8465 or.w D2, -[A5]
0000551A 7869 moveq.l D4, 0x69
0000551C 7400 moveq.l D2, 0x00
0000551E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005520-00005526
fn00005520:
00005520 4E56 0000 link A6, 0
00005524 2F0C move.l -[A7], A4
// end alternate branch 00005520-00005526
fn00005520: // (misaligned)
00005522 0000 2F0C ori.b D0, 0xC
00005526 206D FEF4 movea.l A0, [A5 - 0x10C]
0000552A 49E8 008C lea.l A4, [A0 + 0x8C]
0000552E 600A bra +0xC /* 0000553A */
label00005530:
00005530 4A94 tst.l [A4]
00005532 6704 beq +0x6 /* 00005538 */
00005534 2054 movea.l A0, [A4]
00005536 4E90 jsr [A0]
label00005538:
00005538 594C subq.w A4, 4
label0000553A:
0000553A 206D FEF4 movea.l A0, [A5 - 0x10C]
0000553E B1CC cmpa.l A0, A4
00005540 65EE bcs -0x10 /* 00005530 */
00005542 4AAD FF02 tst.l [A5 - 0xFE]
00005546 670A beq +0xC /* 00005552 */
00005548 206D FF02 movea.l A0, [A5 - 0xFE]
0000554C 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8]
label00005552:
00005552 4AAD FFE8 tst.l [A5 - 0x18]
00005556 660A bne +0xC /* 00005562 */
00005558 206D FEF4 movea.l A0, [A5 - 0x10C]
0000555C 2250 movea.l A1, [A0]
0000555E 4E91 jsr [A1]
00005560 600E bra +0x10 /* 00005570 */
label00005562:
00005562 7001 moveq.l D0, 0x01
00005564 2F00 move.l -[A7], D0
00005566 486D FFD0 pea.l [A5 - 0x30]
0000556A 4EBA 00E0 jsr [PC + 0xE0 /* 0000564C */]
0000556E 504F addq.w A7, 8
label00005570:
00005570 286E FFFC movea.l A4, [A6 - 0x4]
00005574 4E5E unlink A6
00005576 4E75 rts
00005578 875F or.w [A7]+, D3
0000557A 5254 addq.w [A4], 1
0000557C 4578 6974 chk.w D2, [0x00006974]
00005580 0000 202F ori.b D0, 0x2F /* '/' */
00005584 0004 222F ori.b D4, 0x2F /* '/' */
00005588 0008 2F02 ori.b A0, 0x2
// begin alternate branch 0000558A-0000558C
export_82:
fn0000558A:
0000558A 2F02 move.l -[A7], D2
// end alternate branch 0000558A-0000558C
export_82: // at 0000558A (misaligned)
fn0000558A: // (misaligned)
0000558C 2400 move.l D2, D0
0000558E C4C1 mulu.w D2, D1
00005590 2042 movea.l A0, D2
00005592 2401 move.l D2, D1
00005594 4842 swap.w D2
00005596 C4C0 mulu.w D2, D0
00005598 4840 swap.w D0
0000559A C2C0 mulu.w D1, D0
0000559C D441 add.w D2, D1
0000559E 4842 swap.w D2
000055A0 4242 clr.w D2
000055A2 D1C2 add.l A0, D2
000055A4 2008 move.l D0, A0
000055A6 241F move.l D2, [A7]+
000055A8 4E75 rts
000055AA 222F 0004 move.l D1, [A7 + 0x4]
000055AE 202F 0008 move.l D0, [A7 + 0x8]
export_83:
fn000055B2:
000055B2 4EBA 000E jsr [PC + 0xE /* 000055C2 */]
000055B6 2001 move.l D0, D1
000055B8 4E75 rts
000055BA 222F 0004 move.l D1, [A7 + 0x4]
000055BE 202F 0008 move.l D0, [A7 + 0x8]
export_84:
fn000055C2:
000055C2 48E7 0600 movem.l -[A7], D5,D6
000055C6 2A00 move.l D5, D0
000055C8 6A02 bpl +0x4 /* 000055CC */
000055CA 4480 neg.l D0
label000055CC:
000055CC 2C01 move.l D6, D1
000055CE 6A02 bpl +0x4 /* 000055D2 */
000055D0 4481 neg.l D1
label000055D2:
000055D2 4EBA 001C jsr [PC + 0x1C /* 000055F0 */]
000055D6 4A85 tst.l D5
000055D8 6A02 bpl +0x4 /* 000055DC */
000055DA 4480 neg.l D0
label000055DC:
000055DC BB86 xor.l D6, D5
000055DE 6A02 bpl +0x4 /* 000055E2 */
000055E0 4481 neg.l D1
label000055E2:
000055E2 4CDF 0060 movem.l D5,D6, [A7]+
000055E6 4E75 rts
000055E8 222F 0004 move.l D1, [A7 + 0x4]
000055EC 202F 0008 move.l D0, [A7 + 0x8]
fn000055F0:
000055F0 48E7 3800 movem.l -[A7], D2,D3,D4
000055F4 2401 move.l D2, D1
000055F6 4842 swap.w D2
000055F8 4A42 tst.w D2
000055FA 661C bne +0x1E /* 00005618 */
000055FC 3600 move.w D3, D0
000055FE 4240 clr.w D0
00005600 4840 swap.w D0
00005602 6704 beq +0x6 /* 00005608 */
00005604 80C1 divu.w D0, D1
00005606 3400 move.w D2, D0
label00005608:
00005608 4842 swap.w D2
0000560A 3003 move.w D0, D3
0000560C 80C1 divu.w D0, D1
0000560E 3400 move.w D2, D0
00005610 2202 move.l D1, D2
00005612 4240 clr.w D0
00005614 4840 swap.w D0
00005616 6022 bra +0x24 /* 0000563A */
label00005618:
00005618 2400 move.l D2, D0
0000561A 4240 clr.w D0
0000561C 4840 swap.w D0
0000561E 4842 swap.w D2
00005620 4242 clr.w D2
00005622 2601 move.l D3, D1
00005624 7200 moveq.l D1, 0x00
00005626 780F moveq.l D4, 0x0F
label00005628:
00005628 D482 add.l D2, D2
0000562A D180 addx.l D0, D0
0000562C D281 add.l D1, D1
0000562E B083 cmp.l D0, D3
00005630 6504 bcs +0x6 /* 00005636 */
00005632 9083 sub.l D0, D3
00005634 5201 addq.b D1, 1
label00005636:
00005636 51CC FFF0 dbf D4, -0x12 /* 00005628 */
label0000563A:
0000563A 4CDF 001C movem.l D2,D3,D4, [A7]+
0000563E 4E75 rts
fn00005640:
00005640 225F movea.l A1, [A7]+
00005642 2057 movea.l A0, [A7]
00005644 48D0 DEFC movem.l [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7
00005648 7000 moveq.l D0, 0x00
0000564A 4ED1 jmp [A1]
fn0000564C:
0000564C 202F 0008 move.l D0, [A7 + 0x8]
00005650 6602 bne +0x4 /* 00005654 */
00005652 7001 moveq.l D0, 0x01
label00005654:
00005654 206F 0004 movea.l A0, [A7 + 0x4]
00005658 4CD0 DEFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0]
0000565C 4ED1 jmp [A1]
export_85:
0000565E 225F movea.l A1, [A7]+
00005660 201F move.l D0, [A7]+
00005662 A31E syscall NewPtrClear, flags=3
00005664 2E88 move.l [A7], A0
00005666 4ED1 jmp [A1]
export_86:
fn00005668:
00005668 225F movea.l A1, [A7]+
0000566A 205F movea.l A0, [A7]+
0000566C A025 syscall GetHandleSize
0000566E 2E80 move.l [A7], D0
00005670 6A02 bpl +0x4 /* 00005674 */
00005672 4297 clr.l [A7]
label00005674:
00005674 4ED1 jmp [A1]
export_87:
00005676 225F movea.l A1, [A7]+
00005678 121F move.b D1, [A7]+
0000567A 301F move.w D0, [A7]+
0000567C 4A01 tst.b D1
0000567E 6704 beq +0x6 /* 00005684 */
00005680 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005682 6002 bra +0x4 /* 00005686 */
label00005684:
00005684 A346 syscall GetOSTrapAddress, flags=3
label00005686:
00005686 2E88 move.l [A7], A0
00005688 4ED1 jmp [A1]
export_88:
0000568A 206F 000C movea.l A0, [A7 + 0xC]
0000568E 226F 0008 movea.l A1, [A7 + 0x8]
00005692 7000 moveq.l D0, 0x00
00005694 1018 move.b D0, [A0]+
00005696 4840 swap.w D0
00005698 1019 move.b D0, [A1]+
0000569A 4A2F 0004 tst.b [A7 + 0x4]
0000569E 670E beq +0x10 /* 000056AE */
000056A0 4A2F 0006 tst.b [A7 + 0x6]
000056A4 6704 beq +0x6 /* 000056AA */
000056A6 A43C syscall CmpString, flags=4
000056A8 6010 bra +0x12 /* 000056BA */
label000056AA:
000056AA A03C syscall CmpString
000056AC 600C bra +0xE /* 000056BA */
label000056AE:
000056AE 4A2F 0006 tst.b [A7 + 0x6]
000056B2 6704 beq +0x6 /* 000056B8 */
000056B4 A63C syscall CmpString, flags=6
000056B6 6002 bra +0x4 /* 000056BA */
label000056B8:
000056B8 A23C syscall CmpString, flags=2
label000056BA:
000056BA 0A00 0001 xori.b D0, 0x1
000056BE 1F40 0010 move.b [A7 + 0x10], D0
000056C2 205F movea.l A0, [A7]+
000056C4 4FEF 000C lea.l A7, [A7 + 0xC]
000056C8 4ED0 jmp [A0]
fn000056CA:
000056CA 225F movea.l A1, [A7]+
000056CC 101F move.b D0, [A7]+
000056CE 205F movea.l A0, [A7]+
000056D0 6604 bne +0x6 /* 000056D6 */
000056D2 A002 syscall Read
000056D4 6002 bra +0x4 /* 000056D8 */
label000056D6:
000056D6 A402 syscall Read, flags=4
label000056D8:
000056D8 3E80 move.w [A7], D0
000056DA 4ED1 jmp [A1]
fn000056DC:
000056DC 225F movea.l A1, [A7]+
000056DE 101F move.b D0, [A7]+
000056E0 205F movea.l A0, [A7]+
000056E2 6604 bne +0x6 /* 000056E8 */
000056E4 A003 syscall Write
000056E6 6002 bra +0x4 /* 000056EA */
label000056E8:
000056E8 A403 syscall Write, flags=4
label000056EA:
000056EA 3E80 move.w [A7], D0
000056EC 4ED1 jmp [A1]
export_89:
000056EE 225F movea.l A1, [A7]+
000056F0 101F move.b D0, [A7]+
000056F2 205F movea.l A0, [A7]+
000056F4 6604 bne +0x6 /* 000056FA */
000056F6 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
000056F8 6002 bra +0x4 /* 000056FC */
label000056FA:
000056FA A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label000056FC:
000056FC 3E80 move.w [A7], D0
000056FE 4ED1 jmp [A1]
export_90:
00005700 225F movea.l A1, [A7]+
00005702 101F move.b D0, [A7]+
00005704 205F movea.l A0, [A7]+
00005706 6604 bne +0x6 /* 0000570C */
00005708 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
0000570A 6002 bra +0x4 /* 0000570E */
label0000570C:
0000570C A40C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
label0000570E:
0000570E 3E80 move.w [A7], D0
00005710 4ED1 jmp [A1]
fn00005712:
00005712 225F movea.l A1, [A7]+
00005714 101F move.b D0, [A7]+
00005716 205F movea.l A0, [A7]+
00005718 6604 bne +0x6 /* 0000571E */
0000571A A012 syscall SetEOF
0000571C 6002 bra +0x4 /* 00005720 */
label0000571E:
0000571E A412 syscall SetEOF, flags=4
label00005720:
00005720 3E80 move.w [A7], D0
00005722 4ED1 jmp [A1]
fn00005724:
00005724 4E56 FFCE link A6, -0x0032
00005728 204F movea.l A0, A7
0000572A 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00005730 A001 syscall Close
00005732 3D40 000A move.w [A6 + 0xA], D0
00005736 4E5E unlink A6
00005738 205F movea.l A0, [A7]+
0000573A 548F addq.l A7, 2
0000573C 4ED0 jmp [A0]
export_91:
0000573E 4E56 FFB0 link A6, -0x0050
00005742 204F movea.l A0, A7
00005744 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000574A 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00005750 4228 001A clr.b [A0 + 0x1A]
00005754 4268 001C clr.w [A0 + 0x1C]
00005758 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
0000575A 3D40 0012 move.w [A6 + 0x12], D0
0000575E 41E8 0020 lea.l A0, [A0 + 0x20]
00005762 226E 0008 movea.l A1, [A6 + 0x8]
00005766 7010 moveq.l D0, 0x10
00005768 A02E syscall BlockMove/BlockMoveData
0000576A 4E5E unlink A6
0000576C 225F movea.l A1, [A7]+
0000576E 4FEF 000A lea.l A7, [A7 + 0xA]
00005772 4ED1 jmp [A1]
export_92:
00005774 4E56 FFC0 link A6, -0x0040
00005778 204F movea.l A0, A7
0000577A 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00005780 A014 syscall GetVol/PBHGetVol/HGetVol
00005782 3D40 0010 move.w [A6 + 0x10], D0
00005786 226E 0008 movea.l A1, [A6 + 0x8]
0000578A 32A8 0016 move.w [A1], [A0 + 0x16]
0000578E 4E5E unlink A6
00005790 225F movea.l A1, [A7]+
00005792 508F addq.l A7, 8
00005794 4ED1 jmp [A1]
fn00005796:
00005796 4E56 FFC0 link A6, -0x0040
0000579A 204F movea.l A0, A7
0000579C 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000057A2 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000057A8 A013 syscall FlushVol
000057AA 3D40 000E move.w [A6 + 0xE], D0
000057AE 4E5E unlink A6
000057B0 225F movea.l A1, [A7]+
000057B2 5C8F addq.l A7, 6
000057B4 4ED1 jmp [A1]
export_93:
000057B6 4E56 FFB0 link A6, -0x0050
000057BA 204F movea.l A0, A7
000057BC 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000057C2 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000057C8 4228 001A clr.b [A0 + 0x1A]
000057CC 4268 001C clr.w [A0 + 0x1C]
000057D0 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000057D2 43E8 0020 lea.l A1, [A0 + 0x20]
000057D6 206E 0008 movea.l A0, [A6 + 0x8]
000057DA 7010 moveq.l D0, 0x10
000057DC A02E syscall BlockMove/BlockMoveData
000057DE 204F movea.l A0, A7
000057E0 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
000057E2 3D40 0012 move.w [A6 + 0x12], D0
000057E6 4E5E unlink A6
000057E8 225F movea.l A1, [A7]+
000057EA 4FEF 000A lea.l A7, [A7 + 0xA]
000057EE 4ED1 jmp [A1]
fn000057F0:
000057F0 225F movea.l A1, [A7]+
000057F2 101F move.b D0, [A7]+
000057F4 205F movea.l A0, [A7]+
000057F6 6604 bne +0x6 /* 000057FC */
000057F8 A214 syscall GetVol/PBHGetVol/HGetVol, flags=2
000057FA 6002 bra +0x4 /* 000057FE */
label000057FC:
000057FC A614 syscall GetVol/PBHGetVol/HGetVol, flags=6
label000057FE:
000057FE 3E80 move.w [A7], D0
00005800 4ED1 jmp [A1]
fn00005802:
00005802 225F movea.l A1, [A7]+
00005804 101F move.b D0, [A7]+
00005806 205F movea.l A0, [A7]+
00005808 6606 bne +0x8 /* 00005810 */
0000580A 7007 moveq.l D0, 0x07
0000580C A260 syscall FSDispatch/HFSDispatch, flags=2
0000580E 6004 bra +0x6 /* 00005814 */
label00005810:
00005810 7007 moveq.l D0, 0x07
00005812 A660 syscall FSDispatch/HFSDispatch, flags=6
label00005814:
00005814 3E80 move.w [A7], D0
00005816 4ED1 jmp [A1]
fn00005818:
00005818 225F movea.l A1, [A7]+
0000581A 101F move.b D0, [A7]+
0000581C 205F movea.l A0, [A7]+
0000581E 6606 bne +0x8 /* 00005826 */
00005820 7010 moveq.l D0, 0x10
00005822 A260 syscall FSDispatch/HFSDispatch, flags=2
00005824 6004 bra +0x6 /* 0000582A */
label00005826:
00005826 7010 moveq.l D0, 0x10
00005828 A660 syscall FSDispatch/HFSDispatch, flags=6
label0000582A:
0000582A 3E80 move.w [A7], D0
0000582C 4ED1 jmp [A1]
fn0000582E:
0000582E 225F movea.l A1, [A7]+
00005830 101F move.b D0, [A7]+
00005832 205F movea.l A0, [A7]+
00005834 6606 bne +0x8 /* 0000583C */
00005836 7011 moveq.l D0, 0x11
00005838 A260 syscall FSDispatch/HFSDispatch, flags=2
0000583A 6004 bra +0x6 /* 00005840 */
label0000583C:
0000583C 7011 moveq.l D0, 0x11
0000583E A660 syscall FSDispatch/HFSDispatch, flags=6
label00005840:
00005840 3E80 move.w [A7], D0
00005842 4ED1 jmp [A1]
fn00005844:
00005844 225F movea.l A1, [A7]+
00005846 101F move.b D0, [A7]+
00005848 205F movea.l A0, [A7]+
0000584A 6604 bne +0x6 /* 00005850 */
0000584C A200 syscall OpenSlot, flags=2
0000584E 6002 bra +0x4 /* 00005852 */
label00005850:
00005850 A600 syscall Open/PBHOpen/HOpen, flags=6
label00005852:
00005852 3E80 move.w [A7], D0
00005854 4ED1 jmp [A1]
fn00005856:
00005856 225F movea.l A1, [A7]+
00005858 101F move.b D0, [A7]+
0000585A 205F movea.l A0, [A7]+
0000585C 6604 bne +0x6 /* 00005862 */
0000585E A208 syscall Create/PBHCreate/HCreate, flags=2
00005860 6002 bra +0x4 /* 00005864 */
label00005862:
00005862 A608 syscall Create/PBHCreate/HCreate, flags=6
label00005864:
00005864 3E80 move.w [A7], D0
00005866 4ED1 jmp [A1]
fn00005868:
00005868 225F movea.l A1, [A7]+
0000586A 101F move.b D0, [A7]+
0000586C 205F movea.l A0, [A7]+
0000586E 6604 bne +0x6 /* 00005874 */
00005870 A209 syscall Delete/PBHDelete/HDelete, flags=2
00005872 6002 bra +0x4 /* 00005876 */
label00005874:
00005874 A609 syscall Delete/PBHDelete/HDelete, flags=6
label00005876:
00005876 3E80 move.w [A7], D0
00005878 4ED1 jmp [A1]
fn0000587A:
0000587A 225F movea.l A1, [A7]+
0000587C 101F move.b D0, [A7]+
0000587E 205F movea.l A0, [A7]+
00005880 6604 bne +0x6 /* 00005886 */
00005882 A242 syscall RstFilLock/PBHRstFLock/HRstFLock, flags=2
00005884 6002 bra +0x4 /* 00005888 */
label00005886:
00005886 A642 syscall RstFilLock/PBHRstFLock/HRstFLock, flags=6
label00005888:
00005888 3E80 move.w [A7], D0
0000588A 4ED1 jmp [A1]
fn0000588C:
0000588C 225F movea.l A1, [A7]+
0000588E 101F move.b D0, [A7]+
00005890 205F movea.l A0, [A7]+
00005892 6604 bne +0x6 /* 00005898 */
00005894 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00005896 6002 bra +0x4 /* 0000589A */
label00005898:
00005898 A60C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label0000589A:
0000589A 3E80 move.w [A7], D0
0000589C 4ED1 jmp [A1]
fn0000589E:
0000589E 225F movea.l A1, [A7]+
000058A0 101F move.b D0, [A7]+
000058A2 205F movea.l A0, [A7]+
000058A4 6604 bne +0x6 /* 000058AA */
000058A6 A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
000058A8 6002 bra +0x4 /* 000058AC */
label000058AA:
000058AA A60D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
label000058AC:
000058AC 3E80 move.w [A7], D0
000058AE 4ED1 jmp [A1]
export_94:
000058B0 226F 0004 movea.l A1, [A7 + 0x4]
000058B4 4251 clr.w [A1]
000058B6 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000058BA A025 syscall GetHandleSize
000058BC 4A80 tst.l D0
000058BE 6F0E ble +0x10 /* 000058CE */
000058C0 2050 movea.l A0, [A0]
000058C2 226F 0008 movea.l A1, [A7 + 0x8]
000058C6 3298 move.w [A1], [A0]+
000058C8 226F 0004 movea.l A1, [A7 + 0x4]
000058CC 3290 move.w [A1], [A0]
label000058CE:
000058CE 205F movea.l A0, [A7]+
000058D0 504F addq.w A7, 8
000058D2 4ED0 jmp [A0]
export_95:
000058D4 48E7 0030 movem.l -[A7], A2,A3
000058D8 226F 000C movea.l A1, [A7 + 0xC]
000058DC 42A9 0002 clr.l [A1 + 0x2]
000058E0 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000058E4 A025 syscall GetHandleSize
000058E6 4A80 tst.l D0
000058E8 6F26 ble +0x28 /* 00005910 */
000058EA 2450 movea.l A2, [A0]
000058EC 544A addq.w A2, 2
000058EE 322F 0010 move.w D1, [A7 + 0x10]
000058F2 B25A cmp.w D1, [A2]+
000058F4 6E1A bgt +0x1C /* 00005910 */
000058F6 5341 subq.w D1, 1
label000058F8:
000058F8 6D16 blt +0x18 /* 00005910 */
000058FA 204A movea.l A0, A2
000058FC 7002 moveq.l D0, 0x02
000058FE D028 0008 add.b D0, [A0 + 0x8]
00005902 0240 FFFE andi.w D0, 0xFFFE
00005906 5040 addq.w D0, 8
00005908 D4C0 add.w A2, D0
0000590A A02E syscall BlockMove/BlockMoveData
0000590C 5341 subq.w D1, 1
0000590E 60E8 bra -0x16 /* 000058F8 */
label00005910:
00005910 4CDF 0C00 movem.l A2,A3, [A7]+
00005914 205F movea.l A0, [A7]+
00005916 5C4F addq.w A7, 6
00005918 4ED0 jmp [A0]
export_96:
0000591A 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
0000591E A025 syscall GetHandleSize
00005920 4A80 tst.l D0
00005922 6F28 ble +0x2A /* 0000594C */
00005924 2050 movea.l A0, [A0]
00005926 5448 addq.w A0, 2
00005928 322F 0004 move.w D1, [A7 + 0x4]
0000592C B258 cmp.w D1, [A0]+
0000592E 6E1C bgt +0x1E /* 0000594C */
00005930 5341 subq.w D1, 1
label00005932:
00005932 6D18 blt +0x1A /* 0000594C */
00005934 6712 beq +0x14 /* 00005948 */
00005936 7002 moveq.l D0, 0x02
00005938 D028 0008 add.b D0, [A0 + 0x8]
0000593C 0240 FFFE andi.w D0, 0xFFFE
00005940 5040 addq.w D0, 8
00005942 D0C0 add.w A0, D0
00005944 5341 subq.w D1, 1
00005946 60EA bra -0x14 /* 00005932 */
label00005948:
00005948 42A8 0002 clr.l [A0 + 0x2]
label0000594C:
0000594C 205F movea.l A0, [A7]+
0000594E 544F addq.w A7, 2
00005950 4ED0 jmp [A0]
export_97:
00005952 A162 syscall PurgeSpace, flags=1
00005954 226F 0004 movea.l A1, [A7 + 0x4]
00005958 2288 move.l [A1], A0
0000595A 226F 0008 movea.l A1, [A7 + 0x8]
0000595E 2280 move.l [A1], D0
00005960 225F movea.l A1, [A7]+
00005962 504F addq.w A7, 8
00005964 4ED1 jmp [A1]
export_98:
00005966 4E56 FFCC link A6, -0x0034
0000596A 2F07 move.l -[A7], D7
0000596C 2D6E 0010 FFDE move.l [A6 - 0x22], [A6 + 0x10]
00005972 558F subq.l A7, 2
00005974 486E FFCC pea.l [A6 - 0x34]
00005978 7000 moveq.l D0, 0x00
0000597A 1F00 move.b -[A7], D0
0000597C 4EBA FE72 jsr [PC - 0x18E /* 000057F0 */]
00005980 3E1F move.w D7, [A7]+
00005982 206E 000C movea.l A0, [A6 + 0xC]
00005986 30AE FFE2 move.w [A0], [A6 - 0x1E]
0000598A 206E 0008 movea.l A0, [A6 + 0x8]
0000598E 20AE FFFC move.l [A0], [A6 - 0x4]
00005992 3D47 0014 move.w [A6 + 0x14], D7
00005996 2E2E FFC8 move.l D7, [A6 - 0x38]
0000599A 4E5E unlink A6
0000599C 205F movea.l A0, [A7]+
0000599E 4FEF 000C lea.l A7, [A7 + 0xC]
000059A2 4ED0 jmp [A0]
000059A4 8748 4745 pack -[A3], -[A0], 0x4745
000059A8 5456 addq.w [A6], 2
000059AA 4F4C chk.w D7, A4
000059AC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000059AE-000059B2
fn000059AE:
000059AE 4E56 FF86 link A6, -0x007A
// end alternate branch 000059AE-000059B2
fn000059AE: // (misaligned)
000059B0 FF86 .invalid <<F/6/7>>
000059B2 2F07 move.l -[A7], D7
000059B4 3D6E 0016 FF9C move.w [A6 - 0x64], [A6 + 0x16]
000059BA 2D6E 0012 FFB6 move.l [A6 - 0x4A], [A6 + 0x12]
000059C0 2D6E 000E FF98 move.l [A6 - 0x68], [A6 + 0xE]
000059C6 422E FFA0 clr.b [A6 - 0x60]
000059CA 1D6E 000C FFA1 move.b [A6 - 0x5F], [A6 + 0xC]
000059D0 7000 moveq.l D0, 0x00
000059D2 2D40 FFA2 move.l [A6 - 0x5E], D0
000059D6 558F subq.l A7, 2
000059D8 486E FF86 pea.l [A6 - 0x7A]
000059DC 7200 moveq.l D1, 0x00
000059DE 1F01 move.b -[A7], D1
000059E0 4EBA FE62 jsr [PC - 0x19E /* 00005844 */]
000059E4 3E1F move.w D7, [A7]+
000059E6 206E 0008 movea.l A0, [A6 + 0x8]
000059EA 30AE FF9E move.w [A0], [A6 - 0x62]
000059EE 3D47 0018 move.w [A6 + 0x18], D7
000059F2 2E2E FF82 move.l D7, [A6 - 0x7E]
000059F6 4E5E unlink A6
000059F8 205F movea.l A0, [A7]+
000059FA 4FEF 0010 lea.l A7, [A7 + 0x10]
000059FE 4ED0 jmp [A0]
00005A00 8548 4F50 pack -[A2], -[A0], 0x4F50
00005A04 454E chk.w D2, A6
00005A06 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005A08-00005A0C
fn00005A08:
00005A08 4E56 FF86 link A6, -0x007A
// end alternate branch 00005A08-00005A0C
fn00005A08: // (misaligned)
00005A0A FF86 .invalid <<F/6/7>>
00005A0C 48E7 0300 movem.l -[A7], D6,D7
00005A10 2C2E 0014 move.l D6, [A6 + 0x14]
00005A14 3D6E 0018 FF9C move.w [A6 - 0x64], [A6 + 0x18]
00005A1A 2D46 FFB6 move.l [A6 - 0x4A], D6
00005A1E 2D6E 0010 FF98 move.l [A6 - 0x68], [A6 + 0x10]
00005A24 422E FFA0 clr.b [A6 - 0x60]
00005A28 558F subq.l A7, 2
00005A2A 486E FF86 pea.l [A6 - 0x7A]
00005A2E 7000 moveq.l D0, 0x00
00005A30 1F00 move.b -[A7], D0
00005A32 4EBA FE22 jsr [PC - 0x1DE /* 00005856 */]
00005A36 3E1F move.w D7, [A7]+
00005A38 6636 bne +0x38 /* 00005A70 */
00005A3A 426E FFA2 clr.w [A6 - 0x5E]
00005A3E 558F subq.l A7, 2
00005A40 486E FF86 pea.l [A6 - 0x7A]
00005A44 7000 moveq.l D0, 0x00
00005A46 1F00 move.b -[A7], D0
00005A48 4EBA FE42 jsr [PC - 0x1BE /* 0000588C */]
00005A4C 3E1F move.w D7, [A7]+
00005A4E 6620 bne +0x22 /* 00005A70 */
00005A50 2D6E 000C FFAA move.l [A6 - 0x56], [A6 + 0xC]
00005A56 2D6E 0008 FFA6 move.l [A6 - 0x5A], [A6 + 0x8]
00005A5C 2D46 FFB6 move.l [A6 - 0x4A], D6
00005A60 558F subq.l A7, 2
00005A62 486E FF86 pea.l [A6 - 0x7A]
00005A66 7000 moveq.l D0, 0x00
00005A68 1F00 move.b -[A7], D0
00005A6A 4EBA FE32 jsr [PC - 0x1CE /* 0000589E */]
00005A6E 3E1F move.w D7, [A7]+
label00005A70:
00005A70 3D47 001A move.w [A6 + 0x1A], D7
00005A74 4CEE 00C0 FF7E movem.l D6,D7, [A6 - 0x82]
00005A7A 4E5E unlink A6
00005A7C 205F movea.l A0, [A7]+
00005A7E 4FEF 0012 lea.l A7, [A7 + 0x12]
00005A82 4ED0 jmp [A0]
00005A84 8748 4352 pack -[A3], -[A0], 0x4352
00005A88 4541 chk.w D2, D1
00005A8A 5445 addq.w D5, 2
00005A8C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005A8E-00005A92
fn00005A8E:
00005A8E 4E56 FF86 link A6, -0x007A
// end alternate branch 00005A8E-00005A92
fn00005A8E: // (misaligned)
00005A90 FF86 .invalid <<F/6/7>>
00005A92 3D6E 0010 FF9C move.w [A6 - 0x64], [A6 + 0x10]
00005A98 2D6E 000C FFB6 move.l [A6 - 0x4A], [A6 + 0xC]
00005A9E 2D6E 0008 FF98 move.l [A6 - 0x68], [A6 + 0x8]
00005AA4 422E FFA0 clr.b [A6 - 0x60]
00005AA8 558F subq.l A7, 2
00005AAA 486E FF86 pea.l [A6 - 0x7A]
00005AAE 7000 moveq.l D0, 0x00
00005AB0 1F00 move.b -[A7], D0
00005AB2 4EBA FDB4 jsr [PC - 0x24C /* 00005868 */]
00005AB6 3D5F 0012 move.w [A6 + 0x12], [A7]+
00005ABA 4E5E unlink A6
00005ABC 205F movea.l A0, [A7]+
00005ABE 4FEF 000A lea.l A7, [A7 + 0xA]
00005AC2 4ED0 jmp [A0]
00005AC4 8748 4445 pack -[A3], -[A0], 0x4445
00005AC8 4C45 5445 movem.l D0,D2,D6,A2,A4,A6, D5
00005ACC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005ACE-00005AD2
fn00005ACE:
00005ACE 4E56 FF86 link A6, -0x007A
// end alternate branch 00005ACE-00005AD2
fn00005ACE: // (misaligned)
00005AD0 FF86 .invalid <<F/6/7>>
00005AD2 2F07 move.l -[A7], D7
00005AD4 3D6E 0014 FF9C move.w [A6 - 0x64], [A6 + 0x14]
00005ADA 2D6E 0010 FFB6 move.l [A6 - 0x4A], [A6 + 0x10]
00005AE0 2D6E 000C FF98 move.l [A6 - 0x68], [A6 + 0xC]
00005AE6 422E FFA0 clr.b [A6 - 0x60]
00005AEA 426E FFA2 clr.w [A6 - 0x5E]
00005AEE 558F subq.l A7, 2
00005AF0 486E FF86 pea.l [A6 - 0x7A]
00005AF4 7000 moveq.l D0, 0x00
00005AF6 1F00 move.b -[A7], D0
00005AF8 4EBA FD92 jsr [PC - 0x26E /* 0000588C */]
00005AFC 3E1F move.w D7, [A7]+
00005AFE 206E 0008 movea.l A0, [A6 + 0x8]
00005B02 43EE FFA6 lea.l A1, [A6 - 0x5A]
00005B06 20D9 move.l [A0]+, [A1]+
00005B08 20D9 move.l [A0]+, [A1]+
00005B0A 20D9 move.l [A0]+, [A1]+
00005B0C 20D9 move.l [A0]+, [A1]+
00005B0E 3D47 0016 move.w [A6 + 0x16], D7
00005B12 2E2E FF82 move.l D7, [A6 - 0x7E]
00005B16 4E5E unlink A6
00005B18 205F movea.l A0, [A7]+
00005B1A 4FEF 000E lea.l A7, [A7 + 0xE]
00005B1E 4ED0 jmp [A0]
00005B20 8948 4745 pack -[A4], -[A0], 0x4745
00005B24 5446 addq.w D6, 2
00005B26 494E chk.w D4, A6
00005B28 464F not.w A7
00005B2A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005B2C-00005B30
fn00005B2C:
00005B2C 4E56 FF86 link A6, -0x007A
// end alternate branch 00005B2C-00005B30
fn00005B2C: // (misaligned)
00005B2E FF86 .invalid <<F/6/7>>
00005B30 3D6E 0010 FF9C move.w [A6 - 0x64], [A6 + 0x10]
00005B36 2D6E 000C FFB6 move.l [A6 - 0x4A], [A6 + 0xC]
00005B3C 2D6E 0008 FF98 move.l [A6 - 0x68], [A6 + 0x8]
00005B42 422E FFA0 clr.b [A6 - 0x60]
00005B46 558F subq.l A7, 2
00005B48 486E FF86 pea.l [A6 - 0x7A]
00005B4C 7000 moveq.l D0, 0x00
00005B4E 1F00 move.b -[A7], D0
00005B50 4EBA FD28 jsr [PC - 0x2D8 /* 0000587A */]
00005B54 3D5F 0012 move.w [A6 + 0x12], [A7]+
00005B58 4E5E unlink A6
00005B5A 205F movea.l A0, [A7]+
00005B5C 4FEF 000A lea.l A7, [A7 + 0xA]
00005B60 4ED0 jmp [A0]
00005B62 8948 5253 pack -[A4], -[A0], 0x5253
00005B66 5446 addq.w D6, 2
00005B68 4C4F 434B movem.l D0,D1,D3,D6,A0,A1,A6, A7
00005B6C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_99: // at 00005B6E (misaligned)
00005B70 FFCC .invalid <<F/7/7>>
00005B72 2F07 move.l -[A7], D7
00005B74 3D6E 0014 FFE2 move.w [A6 - 0x1E], [A6 + 0x14]
00005B7A 426E FFE6 clr.w [A6 - 0x1A]
00005B7E 7000 moveq.l D0, 0x00
00005B80 2D40 FFDE move.l [A6 - 0x22], D0
00005B84 558F subq.l A7, 2
00005B86 486E FFCC pea.l [A6 - 0x34]
00005B8A 7200 moveq.l D1, 0x00
00005B8C 1F01 move.b -[A7], D1
00005B8E 4EBA FC72 jsr [PC - 0x38E /* 00005802 */]
00005B92 3E1F move.w D7, [A7]+
00005B94 206E 0010 movea.l A0, [A6 + 0x10]
00005B98 30AE FFEC move.w [A0], [A6 - 0x14]
00005B9C 206E 000C movea.l A0, [A6 + 0xC]
00005BA0 20AE FFFC move.l [A0], [A6 - 0x4]
00005BA4 206E 0008 movea.l A0, [A6 + 0x8]
00005BA8 20AE FFE8 move.l [A0], [A6 - 0x18]
00005BAC 3D47 0016 move.w [A6 + 0x16], D7
00005BB0 2E2E FFC8 move.l D7, [A6 - 0x38]
00005BB4 4E5E unlink A6
00005BB6 205F movea.l A0, [A7]+
00005BB8 4FEF 000E lea.l A7, [A7 + 0xE]
00005BBC 4ED0 jmp [A0]
00005BBE 8947 4554 pack D4, D7, 0x4554
00005BC2 5744 subq.w D4, 3
00005BC4 494E chk.w D4, A6
00005BC6 464F not.w A7
00005BC8 0000 206F ori.b D0, 0x6F /* 'o' */
export_100: // at 00005BCA (misaligned)
00005BCC 0004 2050 ori.b D4, 0x50 /* 'P' */
00005BD0 A9E1 syscall HandToHand
00005BD2 226F 0004 movea.l A1, [A7 + 0x4]
00005BD6 2288 move.l [A1], A0
00005BD8 3F40 0008 move.w [A7 + 0x8], D0
00005BDC 2E9F move.l [A7], [A7]+
00005BDE 4E75 rts
export_101:
fn00005BE0:
00005BE0 4E56 0000 link A6, 0
00005BE4 594F subq.w A7, 4
00005BE6 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00005BEC 3F2E 000A move.w -[A7], [A6 + 0xA]
00005BF0 A9A0 syscall GetResource
00005BF2 226E 000C movea.l A1, [A6 + 0xC]
00005BF6 4211 clr.b [A1]
00005BF8 201F move.l D0, [A7]+
00005BFA 6722 beq +0x24 /* 00005C1E */
00005BFC 2040 movea.l A0, D0
00005BFE 2050 movea.l A0, [A0]
00005C00 3018 move.w D0, [A0]+
00005C02 322E 0008 move.w D1, [A6 + 0x8]
00005C06 6716 beq +0x18 /* 00005C1E */
00005C08 B240 cmp.w D1, D0
00005C0A 6212 bhi +0x14 /* 00005C1E */
00005C0C 7000 moveq.l D0, 0x00
label00005C0E:
00005C0E 5341 subq.w D1, 1
00005C10 6706 beq +0x8 /* 00005C18 */
00005C12 1018 move.b D0, [A0]+
00005C14 D1C0 add.l A0, D0
00005C16 60F6 bra -0x8 /* 00005C0E */
label00005C18:
00005C18 1010 move.b D0, [A0]
00005C1A 5240 addq.w D0, 1
00005C1C A02E syscall BlockMove/BlockMoveData
label00005C1E:
00005C1E 4E5E unlink A6
00005C20 205F movea.l A0, [A7]+
00005C22 508F addq.l A7, 8
00005C24 4ED0 jmp [A0]
export_102:
00005C26 4A78 028E tst.w [0x0000028E /* ROM85 */]
00005C2A 6B22 bmi +0x24 /* 00005C4E */
00005C2C 303C 0090 move.w D0, 0x90
00005C30 A346 syscall GetOSTrapAddress, flags=3
00005C32 2248 movea.l A1, A0
00005C34 303C 009F move.w D0, 0x9F
00005C38 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005C3A B3C8 cmpa.l A1, A0
00005C3C 6710 beq +0x12 /* 00005C4E */
00005C3E 225F movea.l A1, [A7]+
00005C40 205F movea.l A0, [A7]+
00005C42 301F move.w D0, [A7]+
00005C44 2F09 move.l -[A7], A1
00005C46 A090 syscall SysEnvirons
00005C48 3F40 0004 move.w [A7 + 0x4], D0
00005C4C 4E75 rts
label00005C4E:
00005C4E 206F 0004 movea.l A0, [A7 + 0x4]
00005C52 303C 0001 move.w D0, 0x1
00005C56 2248 movea.l A1, A0
00005C58 6006 bra +0x8 /* 00005C60 */
00005C5A 0313 btst [A3], D1
00005C5C 0B02 btst D2, D5
00005C5E 0100 btst D0, D0
label00005C60:
00005C60 303C 0010 move.w D0, 0x10
00005C64 E240 asr D0.w, 1
00005C66 5340 subq.w D0, 1
label00005C68:
00005C68 4258 clr.w [A0]+
00005C6A 51C8 FFFC dbf D0, -0x6 /* 00005C68 */
00005C6E 32BC 0001 move.w [A1], 0x1
00005C72 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00005C76 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00005C7C 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00005C82 6742 beq +0x44 /* 00005CC6 */
00005C84 4A28 0008 tst.b [A0 + 0x8]
00005C88 6E20 bgt +0x22 /* 00005CAA */
00005C8A 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00005C90 4A78 028E tst.w [0x0000028E /* ROM85 */]
00005C94 6B30 bmi +0x32 /* 00005CC6 */
00005C96 337C 0001 0002 move.w [A1 + 0x2], 0x1
00005C9C 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
00005CA0 6A24 bpl +0x26 /* 00005CC6 */
00005CA2 337C 0002 0002 move.w [A1 + 0x2], 0x2
00005CA8 601C bra +0x1E /* 00005CC6 */
label00005CAA:
00005CAA 4269 0002 clr.w [A1 + 0x2]
00005CAE 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
00005CB4 6E10 bgt +0x12 /* 00005CC6 */
00005CB6 6708 beq +0xA /* 00005CC0 */
00005CB8 337C 0004 0002 move.w [A1 + 0x2], 0x4
00005CBE 6006 bra +0x8 /* 00005CC6 */
label00005CC0:
00005CC0 337C 0003 0002 move.w [A1 + 0x2], 0x3
label00005CC6:
00005CC6 4269 0004 clr.w [A1 + 0x4]
00005CCA 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00005CD0 6E0A bgt +0xC /* 00005CDC */
00005CD2 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00005CD6 5240 addq.w D0, 1
00005CD8 1340 0007 move.b [A1 + 0x7], D0
label00005CDC:
00005CDC 4A78 028E tst.w [0x0000028E /* ROM85 */]
00005CE0 6B0E bmi +0x10 /* 00005CF0 */
00005CE2 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00005CE8 6706 beq +0x8 /* 00005CF0 */
00005CEA 137C 0001 0008 move.b [A1 + 0x8], 0x1
label00005CF0:
00005CF0 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00005CF6 6206 bhi +0x8 /* 00005CFE */
00005CF8 137C 0001 0009 move.b [A1 + 0x9], 0x1
label00005CFE:
00005CFE 1038 021E move.b D0, [0x0000021E /* KbdType */]
00005D02 41FA FF5B lea.l A0, [PC - 0xA5 /* 00005C5F, value 0x303C00 '0<\0', cstring "" */]
00005D06 323C 0004 move.w D1, 0x4
label00005D0A:
00005D0A B020 cmp.b D0, -[A0]
00005D0C 57C9 FFFC dbeq D1, -0x6 /* 00005D0A */
00005D10 5241 addq.w D1, 1
00005D12 3341 000A move.w [A1 + 0xA], D1
00005D16 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00005D1A 6B18 bmi +0x1A /* 00005D34 */
00005D1C 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00005D20 0201 000F andi.b D1, 0xF
00005D24 0C01 0001 cmpi.b D1, 0x1
00005D28 660A bne +0xC /* 00005D34 */
00005D2A 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00005D2E 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00005D34:
00005D34 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00005D3A 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00005D3E 6D44 blt +0x46 /* 00005D84 */
00005D40 4269 000E clr.w [A1 + 0xE]
00005D44 323C 003C move.w D1, 0x3C /* '<' */
label00005D48:
00005D48 4267 clr.w -[A7]
00005D4A 51C9 FFFC dbf D1, -0x6 /* 00005D48 */
00005D4E 204F movea.l A0, A7
00005D50 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00005D56 7008 moveq.l D0, 0x08
00005D58 A260 syscall FSDispatch/HFSDispatch, flags=2
00005D5A 6624 bne +0x26 /* 00005D80 */
00005D5C 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00005D62 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00005D64 661A bne +0x1C /* 00005D80 */
00005D66 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00005D6C 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00005D74 7001 moveq.l D0, 0x01
00005D76 A260 syscall FSDispatch/HFSDispatch, flags=2
00005D78 6606 bne +0x8 /* 00005D80 */
00005D7A 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00005D80:
00005D80 4FEF 007A lea.l A7, [A7 + 0x7A]
label00005D84:
00005D84 2049 movea.l A0, A1
00005D86 225F movea.l A1, [A7]+
00005D88 5C4F addq.w A7, 6
00005D8A 3EBC EA84 move.w [A7], 0xEA84
00005D8E 4ED1 jmp [A1]
export_103:
00005D90 4E56 0000 link A6, 0
00005D94 203C 0000 A89F move.l D0, 0xA89F
00005D9A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005D9C 2F08 move.l -[A7], A0
00005D9E 203C 0000 A0AD move.l D0, 0xA0AD
00005DA4 A346 syscall GetOSTrapAddress, flags=3
00005DA6 B1DF cmpa.l A0, [A7]+
00005DA8 670E beq +0x10 /* 00005DB8 */
00005DAA 202E 000C move.l D0, [A6 + 0xC]
00005DAE A1AD syscall Gestalt, flags=1
00005DB0 226E 0008 movea.l A1, [A6 + 0x8]
00005DB4 2288 move.l [A1], A0
00005DB6 6026 bra +0x28 /* 00005DDE */
label00005DB8:
00005DB8 41FA 0036 lea.l A0, [PC + 0x36 /* 00005DF0, value 0x76657273 'vers', cstring "vers" */]
00005DBC 303C EA51 move.w D0, 0xEA51
00005DC0 222E 000C move.l D1, [A6 + 0xC]
label00005DC4:
00005DC4 B298 cmp.l D1, [A0]+
00005DC6 6706 beq +0x8 /* 00005DCE */
00005DC8 4A98 tst.l [A0]+
00005DCA 6712 beq +0x14 /* 00005DDE */
00005DCC 60F6 bra -0x8 /* 00005DC4 */
label00005DCE:
00005DCE 43FA 0020 lea.l A1, [PC + 0x20 /* 00005DF0, value 0x76657273 'vers', cstring "vers" */]
00005DD2 D3D0 add.l A1, [A0]
00005DD4 4ED1 jmp [A1]
label00005DD6:
00005DD6 226E 0008 movea.l A1, [A6 + 0x8]
00005DDA 2280 move.l [A1], D0
00005DDC 4240 clr.w D0
label00005DDE:
00005DDE 3D40 0010 move.w [A6 + 0x10], D0
00005DE2 4E5E unlink A6
00005DE4 205F movea.l A0, [A7]+
00005DE6 508F addq.l A7, 8
00005DE8 4ED0 jmp [A0]
label00005DEA:
00005DEA 303C EA52 move.w D0, 0xEA52
00005DEE 60EE bra -0x10 /* 00005DDE */
00005DF0 7665 moveq.l D3, 0x65
00005DF2 7273 moveq.l D1, 0x73
00005DF4 0000 0060 ori.b D0, 0x60 /* '`' */
00005DF8 6D61 blt +0x63 /* 00005E5B */
00005DFA 6368 bls +0x6A /* 00005E64 */
00005DFC 0000 0064 ori.b D0, 0x64 /* 'd' */
00005E00 7379 moveq.l D1, 0x79
00005E02 7376 moveq.l D1, 0x76
00005E04 0000 0088 ori.b D0, 0x88
00005E08 7072 moveq.l D0, 0x72
00005E0A 6F63 ble +0x65 /* 00005E6F */
00005E0C 0000 0092 ori.b D0, 0x92
00005E10 6670 bne +0x72 /* 00005E82 */
00005E12 7520 moveq.l D2, 0x20
00005E14 0000 009E ori.b D0, 0x9E
00005E18 7164 moveq.l D0, 0x64
00005E1A 2020 move.l D0, -[A0]
00005E1C 0000 00E8 ori.b D0, 0xE8
00005E20 6B62 bmi +0x64 /* 00005E84 */
00005E22 6420 bcc +0x22 /* 00005E44 */
00005E24 0000 011A ori.b D0, 0x1A
00005E28 6174 bsr +0x76 /* 00005E9E */
00005E2A 6C6B bge +0x6D /* 00005E97 */
00005E2C 0000 0142 ori.b D0, 0x42 /* 'B' */
00005E30 6D6D blt +0x6F /* 00005E9F */
00005E32 7520 moveq.l D2, 0x20
00005E34 0000 0164 ori.b D0, 0x64 /* 'd' */
00005E38 7261 moveq.l D1, 0x61
00005E3A 6D20 blt +0x22 /* 00005E5C */
00005E3C 0000 0188 ori.b D0, 0x88
00005E40 6C72 bge +0x74 /* 00005EB4 */
00005E42 616D bsr +0x6F /* 00005EB1 */
label00005E44:
00005E44 0000 0188 ori.b D0, 0x88
00005E48 0000 0000 ori.b D0, 0x0
00005E4C 0000 0000 ori.b D0, 0x0
00005E50 7001 moveq.l D0, 0x01
00005E52 6082 bra -0x7C /* 00005DD6 */
00005E54 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00005E58 7004 moveq.l D0, 0x04
00005E5A 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00005E5C-00005E64
label00005E5C:
00005E5C 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00005E5C-00005E64
label00005E5C: // (misaligned)
00005E60 6712 beq +0x14 /* 00005E74 */
00005E62 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00005E64-00005E6A
label00005E64:
00005E64 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00005E64-00005E6A
label00005E64: // (misaligned)
00005E68 6604 bne +0x6 /* 00005E6E */
00005E6A 5240 addq.w D0, 1
00005E6C 6006 bra +0x8 /* 00005E74 */
label00005E6E:
00005E6E 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00005E72 5C80 addq.l D0, 6
label00005E74:
00005E74 6000 FF60 bra -0x9E /* 00005DD6 */
00005E78 7000 moveq.l D0, 0x00
00005E7A 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00005E7E 6000 FF56 bra -0xA8 /* 00005DD6 */
label00005E82:
00005E82 7000 moveq.l D0, 0x00
label00005E84:
00005E84 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00005E88 5240 addq.w D0, 1
00005E8A 6000 FF4A bra -0xB4 /* 00005DD6 */
00005E8E 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00005E94 6738 beq +0x3A /* 00005ECE */
00005E96 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00005E9C 6734 beq +0x36 /* 00005ED2 */
fn00005E9E:
00005E9E 204F movea.l A0, A7
00005EA0 F280 0000 fnop
00005EA4 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00005EA6 3017 move.w D0, [A7]
00005EA8 2E48 movea.l A7, A0
00005EAA 0C40 1F18 cmpi.w D0, 0x1F18
00005EAE 6716 beq +0x18 /* 00005EC6 */
00005EB0 0C40 3F18 cmpi.w D0, 0x3F18
label00005EB4:
00005EB4 6710 beq +0x12 /* 00005EC6 */
00005EB6 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00005EBA 670E beq +0x10 /* 00005ECA */
00005EBC 0C40 1F38 cmpi.w D0, 0x1F38
00005EC0 6708 beq +0xA /* 00005ECA */
00005EC2 7000 moveq.l D0, 0x00
00005EC4 600E bra +0x10 /* 00005ED4 */
label00005EC6:
00005EC6 7001 moveq.l D0, 0x01
00005EC8 600A bra +0xC /* 00005ED4 */
label00005ECA:
00005ECA 7002 moveq.l D0, 0x02
00005ECC 6006 bra +0x8 /* 00005ED4 */
label00005ECE:
00005ECE 7003 moveq.l D0, 0x03
00005ED0 6002 bra +0x4 /* 00005ED4 */
label00005ED2:
00005ED2 7000 moveq.l D0, 0x00
label00005ED4:
00005ED4 6000 FF00 bra -0xFE /* 00005DD6 */
00005ED8 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00005EDE 6E1C bgt +0x1E /* 00005EFC */
00005EE0 303C A89F move.w D0, 0xA89F
00005EE4 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005EE6 2408 move.l D2, A0
00005EE8 203C 0000 AB03 move.l D0, 0xAB03
00005EEE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005EF0 203C 0000 0100 move.l D0, 0x100
00005EF6 B488 cmp.l D2, A0
00005EF8 6606 bne +0x8 /* 00005F00 */
00005EFA 600A bra +0xC /* 00005F06 */
label00005EFC:
00005EFC 7000 moveq.l D0, 0x00
00005EFE 6006 bra +0x8 /* 00005F06 */
label00005F00:
00005F00 203C 0000 0200 move.l D0, 0x200
label00005F06:
00005F06 6000 FECE bra -0x130 /* 00005DD6 */
00005F0A 1038 021E move.b D0, [0x0000021E /* KbdType */]
00005F0E 41FA 0016 lea.l A0, [PC + 0x16 /* 00005F26, value 0x3130B02 */]
00005F12 2248 movea.l A1, A0
label00005F14:
00005F14 1218 move.b D1, [A0]+
00005F16 6700 FED2 beq -0x12C /* 00005DEA */
00005F1A B200 cmp.b D1, D0
00005F1C 66F6 bne -0x8 /* 00005F14 */
00005F1E 91C9 sub.l A0, A1
00005F20 2008 move.l D0, A0
00005F22 6000 FEB2 bra -0x14C /* 00005DD6 */
00005F26 0313 btst [A3], D1
00005F28 0B02 btst D2, D5
00005F2A 0106 btst D6, D0
00005F2C 0704 btst D4, D3
00005F2E 0508 btst A0, D2
00005F30 0900 btst D0, D4
00005F32 7000 moveq.l D0, 0x00
00005F34 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00005F38 6B16 bmi +0x18 /* 00005F50 */
00005F3A 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00005F3E 0201 000F andi.b D1, 0xF
00005F42 0C01 0001 cmpi.b D1, 0x1
00005F46 6608 bne +0xA /* 00005F50 */
00005F48 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00005F4C 1028 0007 move.b D0, [A0 + 0x7]
label00005F50:
00005F50 6000 FE84 bra -0x17A /* 00005DD6 */
00005F54 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00005F5A 6D16 blt +0x18 /* 00005F72 */
00005F5C 7000 moveq.l D0, 0x00
00005F5E 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00005F62 0C00 0001 cmpi.b D0, 0x1
00005F66 670C beq +0xE /* 00005F74 */
00005F68 0C00 0003 cmpi.b D0, 0x3
00005F6C 6D04 blt +0x6 /* 00005F72 */
00005F6E 5340 subq.w D0, 1
00005F70 6002 bra +0x4 /* 00005F74 */
label00005F72:
00005F72 7000 moveq.l D0, 0x00
label00005F74:
00005F74 6000 FE60 bra -0x19E /* 00005DD6 */
00005F78 303C A89F move.w D0, 0xA89F
00005F7C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005F7E 2408 move.l D2, A0
00005F80 203C 0000 A88F move.l D0, 0xA88F
00005F86 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00005F88 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00005F8C B488 cmp.l D2, A0
00005F8E 670A beq +0xC /* 00005F9A */
00005F90 598F subq.l A7, 4
00005F92 3F3C 0016 move.w -[A7], 0x16
00005F96 A88F syscall OSDispatch
00005F98 201F move.l D0, [A7]+
label00005F9A:
00005F9A 6000 FE3A bra -0x1C4 /* 00005DD6 */
00005F9E 7402 moveq.l D2, 0x02
label00005FA0:
00005FA0 205F movea.l A0, [A7]+
00005FA2 3F02 move.w -[A7], D2
00005FA4 2F08 move.l -[A7], A0
00005FA6 ADE9 syscall Pack2, auto_pop
fn00005FA8:
00005FA8 7400 moveq.l D2, 0x00
00005FAA 4EFA FFF4 jmp [PC - 0xC /* 00005FA0 */]
export_104:
fn00005FAE:
00005FAE 206F 0004 movea.l A0, [A7 + 0x4]
00005FB2 202F 0008 move.l D0, [A7 + 0x8]
00005FB6 4267 clr.w -[A7]
00005FB8 A9EE syscall Pack7/DecStr68K
00005FBA 205F movea.l A0, [A7]+
00005FBC 504F addq.w A7, 8
00005FBE 4ED0 jmp [A0]
export_105:
00005FC0 225F movea.l A1, [A7]+
00005FC2 201F move.l D0, [A7]+
00005FC4 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
00005FCA 6606 bne +0x8 /* 00005FD2 */
00005FCC A055 syscall StripAddress
00005FCE 2E80 move.l [A7], D0
00005FD0 4ED1 jmp [A1]
label00005FD2:
00005FD2 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00005FD6 2E80 move.l [A7], D0
00005FD8 4ED1 jmp [A1]
fn00005FDA:
00005FDA 202F 0004 move.l D0, [A7 + 0x4]
00005FDE 2F40 0008 move.l [A7 + 0x8], D0
00005FE2 6726 beq +0x28 /* 0000600A */
00005FE4 2040 movea.l A0, D0
00005FE6 2248 movea.l A1, A0
00005FE8 1019 move.b D0, [A1]+
00005FEA 671E beq +0x20 /* 0000600A */
label00005FEC:
00005FEC 1211 move.b D1, [A1]
00005FEE 12C0 move.b [A1]+, D0
00005FF0 1001 move.b D0, D1
00005FF2 66F8 bne -0x6 /* 00005FEC */
00005FF4 93C8 sub.l A1, A0
00005FF6 2009 move.l D0, A1
00005FF8 5340 subq.w D0, 1
00005FFA 0C80 0000 00FF cmpi.l D0, 0xFF
00006000 6F06 ble +0x8 /* 00006008 */
00006002 203C 0000 00FF move.l D0, 0xFF
label00006008:
00006008 1080 move.b [A0], D0
label0000600A:
0000600A 225F movea.l A1, [A7]+
0000600C 584F addq.w A7, 4
0000600E 4ED1 jmp [A1]
fn00006010:
00006010 225F movea.l A1, [A7]+
00006012 201F move.l D0, [A7]+
00006014 2E80 move.l [A7], D0
00006016 6712 beq +0x14 /* 0000602A */
00006018 2040 movea.l A0, D0
0000601A 7000 moveq.l D0, 0x00
0000601C 1010 move.b D0, [A0]
0000601E 6004 bra +0x6 /* 00006024 */
label00006020:
00006020 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00006024:
00006024 51C8 FFFA dbf D0, -0x8 /* 00006020 */
00006028 4210 clr.b [A0]
label0000602A:
0000602A 4ED1 jmp [A1]
0000602C 9EFC 0032 sub.w A7, 0x32 /* '2' */
00006030 204F movea.l A0, A7
00006032 43FA 018E lea.l A1, [PC + 0x18E /* 000061C2, value 0x42E5850, pstring ".XPP" */]
00006036 2149 0012 move.l [A0 + 0x12], A1
0000603A 4228 001B clr.b [A0 + 0x1B]
0000603E A000 syscall Open/PBHOpen/HOpen
00006040 3228 0018 move.w D1, [A0 + 0x18]
00006044 4FEF 0032 lea.l A7, [A7 + 0x32]
00006048 205F movea.l A0, [A7]+
0000604A 225F movea.l A1, [A7]+
0000604C 3281 move.w [A1], D1
0000604E 3E80 move.w [A7], D0
00006050 4ED0 jmp [A0]
00006052 303C 0017 move.w D0, 0x17
00006056 6000 0170 bra +0x172 /* 000061C8 */
0000605A 303C 0018 move.w D0, 0x18
0000605E 6000 0168 bra +0x16A /* 000061C8 */
00006062 303C 0019 move.w D0, 0x19
00006066 6000 0160 bra +0x162 /* 000061C8 */
0000606A 303C 00F5 move.w D0, 0xF5
0000606E 6000 00AC bra +0xAE /* 0000611C */
00006072 303C 00F4 move.w D0, 0xF4
00006076 6000 00A4 bra +0xA6 /* 0000611C */
0000607A 303C 00F3 move.w D0, 0xF3
0000607E 6000 009C bra +0x9E /* 0000611C */
00006082 303C 00F8 move.w D0, 0xF8
00006086 6000 0094 bra +0x96 /* 0000611C */
0000608A 303C 00F7 move.w D0, 0xF7
0000608E 6000 008C bra +0x8E /* 0000611C */
00006092 303C 00F6 move.w D0, 0xF6
00006096 6000 0084 bra +0x86 /* 0000611C */
fn0000609A:
0000609A 303C 00FD move.w D0, 0xFD
0000609E 607C bra +0x7E /* 0000611C */
fn000060A0:
000060A0 303C 00FB move.w D0, 0xFB
000060A4 6076 bra +0x78 /* 0000611C */
fn000060A6:
000060A6 303C 00FA move.w D0, 0xFA
000060AA 6070 bra +0x72 /* 0000611C */
fn000060AC:
000060AC 303C 00FC move.w D0, 0xFC
000060B0 606A bra +0x6C /* 0000611C */
fn000060B2:
000060B2 303C 0100 move.w D0, 0x100
000060B6 6064 bra +0x66 /* 0000611C */
000060B8 303C 00FE move.w D0, 0xFE
000060BC 605E bra +0x60 /* 0000611C */
000060BE 303C 0102 move.w D0, 0x102
000060C2 6058 bra +0x5A /* 0000611C */
000060C4 303C 0103 move.w D0, 0x103
000060C8 6052 bra +0x54 /* 0000611C */
fn000060CA:
000060CA 303C 00FE move.w D0, 0xFE
000060CE 6040 bra +0x42 /* 00006110 */
fn000060D0:
000060D0 303C 00FA move.w D0, 0xFA
000060D4 603A bra +0x3C /* 00006110 */
fn000060D6:
000060D6 303C 00FF move.w D0, 0xFF
000060DA 6034 bra +0x36 /* 00006110 */
fn000060DC:
000060DC 303C 00FD move.w D0, 0xFD
000060E0 602E bra +0x30 /* 00006110 */
fn000060E2:
000060E2 303C 00FC move.w D0, 0xFC
000060E6 6028 bra +0x2A /* 00006110 */
000060E8 303C 00FB move.w D0, 0xFB
000060EC 6022 bra +0x24 /* 00006110 */
000060EE 303C 0100 move.w D0, 0x100
000060F2 601C bra +0x1E /* 00006110 */
000060F4 303C 00F9 move.w D0, 0xF9
000060F8 6016 bra +0x18 /* 00006110 */
000060FA 303C 00F8 move.w D0, 0xF8
000060FE 6010 bra +0x12 /* 00006110 */
00006100 303C 0102 move.w D0, 0x102
00006104 600A bra +0xC /* 00006110 */
00006106 303C 0101 move.w D0, 0x101
0000610A 6004 bra +0x6 /* 00006110 */
0000610C 303C 0103 move.w D0, 0x103
label00006110:
00006110 206F 0006 movea.l A0, [A7 + 0x6]
00006114 317C FFF5 0018 move.w [A0 + 0x18], 0xFFF5
0000611A 606C bra +0x6E /* 00006188 */
label0000611C:
0000611C 206F 0006 movea.l A0, [A7 + 0x6]
00006120 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
00006126 6060 bra +0x62 /* 00006188 */
00006128 303C 00FF move.w D0, 0xFF
0000612C 605A bra +0x5C /* 00006188 */
0000612E 303C 00FE move.w D0, 0xFE
00006132 6054 bra +0x56 /* 00006188 */
00006134 303C 00F8 move.w D0, 0xF8
00006138 604E bra +0x50 /* 00006188 */
0000613A 303C 00F9 move.w D0, 0xF9
0000613E 6048 bra +0x4A /* 00006188 */
00006140 303C 00F7 move.w D0, 0xF7
00006144 6042 bra +0x44 /* 00006188 */
00006146 303C 00FC move.w D0, 0xFC
0000614A 603C bra +0x3E /* 00006188 */
0000614C 303C 00FD move.w D0, 0xFD
00006150 6036 bra +0x38 /* 00006188 */
00006152 303C 00FB move.w D0, 0xFB
00006156 6030 bra +0x32 /* 00006188 */
00006158 303C 00FA move.w D0, 0xFA
0000615C 602A bra +0x2C /* 00006188 */
0000615E 303C 00F6 move.w D0, 0xF6
00006162 317C 0005 001C move.w [A0 + 0x1C], 0x5
00006168 343C 0005 move.w D2, 0x5
0000616C 6032 bra +0x34 /* 000061A0 */
0000616E 303C 00F6 move.w D0, 0xF6
00006172 317C 0006 001C move.w [A0 + 0x1C], 0x6
00006178 343C 0006 move.w D2, 0x6
0000617C 6022 bra +0x24 /* 000061A0 */
0000617E 303C 00F6 move.w D0, 0xF6
00006182 343C 0007 move.w D2, 0x7
00006186 6018 bra +0x1A /* 000061A0 */
label00006188:
00006188 225F movea.l A1, [A7]+
0000618A 121F move.b D1, [A7]+
0000618C 205F movea.l A0, [A7]+
0000618E 3140 001A move.w [A0 + 0x1A], D0
00006192 4A01 tst.b D1
00006194 6604 bne +0x6 /* 0000619A */
00006196 A004 syscall Control
00006198 6002 bra +0x4 /* 0000619C */
label0000619A:
0000619A A404 syscall Control, flags=4
label0000619C:
0000619C 3E80 move.w [A7], D0
0000619E 4ED1 jmp [A1]
label000061A0:
000061A0 225F movea.l A1, [A7]+
000061A2 121F move.b D1, [A7]+
000061A4 205F movea.l A0, [A7]+
000061A6 3142 001C move.w [A0 + 0x1C], D2
000061AA 317C FFD7 0018 move.w [A0 + 0x18], 0xFFD7
000061B0 3140 001A move.w [A0 + 0x1A], D0
000061B4 4A01 tst.b D1
000061B6 6604 bne +0x6 /* 000061BC */
000061B8 A004 syscall Control
000061BA 6002 bra +0x4 /* 000061BE */
label000061BC:
000061BC A404 syscall Control, flags=4
label000061BE:
000061BE 3E80 move.w [A7], D0
000061C0 4ED1 jmp [A1]
000061C2 042E 5850 5000 subi.b [A6 + 0x5000], 0x50 /* 'P' */
label000061C8:
000061C8 206F 0004 movea.l A0, [A7 + 0x4]
000061CC 2278 0B18 movea.l A1, [0x00000B18 /* LAPMgrPtr */]
000061D0 2E9F move.l [A7], [A7]+
000061D2 4EA9 0002 jsr [A1 + 0x2]
000061D6 205F movea.l A0, [A7]+
000061D8 3F00 move.w -[A7], D0
000061DA 4ED0 jmp [A0]
fn000061DC:
000061DC 48E7 80C0 movem.l -[A7], D0,A0,A1
000061E0 701C moveq.l D0, 0x1C
000061E2 611A bsr +0x1C /* 000061FE */
000061E4 303C 0018 move.w D0, 0x18
000061E8 6114 bsr +0x16 /* 000061FE */
000061EA 303C 0014 move.w D0, 0x14
000061EE 610E bsr +0x10 /* 000061FE */
000061F0 4CDF 0301 movem.l D0,A0,A1, [A7]+
000061F4 2F57 0010 move.l [A7 + 0x10], [A7]
000061F8 DEFC 0010 add.w A7, 0x10
000061FC 4E75 rts
fn000061FE:
000061FE 2077 0000 movea.l A0, [A7 + D0.w]
00006202 7000 moveq.l D0, 0x00
00006204 1010 move.b D0, [A0]
00006206 5280 addq.l D0, 1
00006208 226F 0020 movea.l A1, [A7 + 0x20]
0000620C D1AF 0020 add.l [A7 + 0x20], D0
00006210 A02E syscall BlockMove/BlockMoveData
00006212 4E75 rts
fn00006214:
00006214 48E7 80F0 movem.l -[A7], D0,A0,A1,A2,A3
00006218 302F 0018 move.w D0, [A7 + 0x18]
0000621C 4CEF 0F00 001A movem.l A0,A1,A2,A3, [A7 + 0x1A]
00006222 429B clr.l [A3]+
00006224 1740 0003 move.b [A3 + 0x3], D0
00006228 486B 0005 pea.l [A3 + 0x5]
0000622C 4852 pea.l [A2]
0000622E 4851 pea.l [A1]
00006230 4850 pea.l [A0]
00006232 4EBA FFA8 jsr [PC - 0x58 /* 000061DC */]
00006236 4CDF 0F01 movem.l D0,A0,A1,A2,A3, [A7]+
0000623A 2F57 0012 move.l [A7 + 0x12], [A7]
0000623E DEFC 0012 add.w A7, 0x12
00006242 4E75 rts
00006244 0000 0000 ori.b D0, 0x0
00006248 0000 0000 ori.b D0, 0x0
0000624C 0000 0000 ori.b D0, 0x0
00006250 0000 0000 ori.b D0, 0x0
00006254 0000 0000 ori.b D0, 0x0
00006258 0000 0000 ori.b D0, 0x0
0000625C 0000 0000 ori.b D0, 0x0
00006260 0000 0000 ori.b D0, 0x0
00006264 0000 0000 ori.b D0, 0x0
00006268 0000 0000 ori.b D0, 0x0
0000626C 0000 0000 ori.b D0, 0x0
00006270 0000 0000 ori.b D0, 0x0
00006274 0000 0000 ori.b D0, 0x0
00006278 0000 0000 ori.b D0, 0x0
0000627C 0000 0000 ori.b D0, 0x0
00006280 0000 0000 ori.b D0, 0x0
00006284 0000 0000 ori.b D0, 0x0
00006288 0000 0000 ori.b D0, 0x0
0000628C 0000 0000 ori.b D0, 0x0
00006290 0000 0000 ori.b D0, 0x0
00006294 0000 0000 ori.b D0, 0x0
00006298 0000 0000 ori.b D0, 0x0
0000629C 0000 0000 ori.b D0, 0x0
000062A0 0000 0000 ori.b D0, 0x0
000062A4 0000 0000 ori.b D0, 0x0
000062A8 0000 0000 ori.b D0, 0x0
000062AC 0000 0000 ori.b D0, 0x0
000062B0 0000 0000 ori.b D0, 0x0
000062B4 0000 0000 ori.b D0, 0x0
000062B8 0000 0000 ori.b D0, 0x0
000062BC 0000 0000 ori.b D0, 0x0
000062C0 0000 042E ori.b D0, 0x2E /* '.' */
000062C4 4D50 chk.w D6, [A0]
000062C6 5020 addq.b -[A0], 8
000062C8 042E 4154 5020 subi.b [A6 + 0x5020], 0x54 /* 'T' */
000062CE 0000 0000 ori.b D0, 0x0
000062D2 0000 0000 ori.b D0, 0x0
000062D6 0000 0000 ori.b D0, 0x0
000062DA 0000 0000 ori.b D0, 0x0
000062DE 0000 0000 ori.b D0, 0x0
000062E2 0000 0000 ori.b D0, 0x0
000062E6 0000 0000 ori.b D0, 0x0
000062EA 0000 0000 ori.b D0, 0x0
000062EE 0000 0000 ori.b D0, 0x0
000062F2 0000 0000 ori.b D0, 0x0
000062F6 0000 0000 ori.b D0, 0x0
000062FA 0000 0000 ori.b D0, 0x0
000062FE 0000 0000 ori.b D0, 0x0
00006302 0000 0000 ori.b D0, 0x0
00006306 0000 0000 ori.b D0, 0x0
0000630A 0000 0000 ori.b D0, 0x0
0000630E 0000 0000 ori.b D0, 0x0
00006312 0000 0000 ori.b D0, 0x0
00006316 0000 0000 ori.b D0, 0x0
0000631A 0000 0000 ori.b D0, 0x0
0000631E 0000 0000 ori.b D0, 0x0
00006322 0000 0000 ori.b D0, 0x0
00006326 0000 0000 ori.b D0, 0x0
0000632A 0000 0000 ori.b D0, 0x0
0000632E 0000 0000 ori.b D0, 0x0
00006332 0000 48E7 ori.b D0, 0xE7
// begin alternate branch 00006334-0000633C
fn00006334:
00006334 48E7 0060 movem.l -[A7], A1,A2
00006338 43FA FF0A lea.l A1, [PC - 0xF6 /* 00006244, value 0x0, cstring "" */]
// end alternate branch 00006334-0000633C
fn00006334: // (misaligned)
00006336 0060 43FA ori.w -[A0], 0x43FA
0000633A FF0A .extension 0xF0A <<F/4-5/7>> // unimplemented
label0000633C:
0000633C 40E7 move.w -[A7], SR
0000633E 46FC 2600 2051 move.w SR, 0x26002051 /* '&\0 Q' */
00006344 2450 movea.l A2, [A0]
00006346 2008 move.l D0, A0
00006348 6702 beq +0x4 /* 0000634C */
0000634A 2292 move.l [A1], [A2]
label0000634C:
0000634C 46DF move.w SR, [A7]+
0000634E 4A80 tst.l D0
00006350 6704 beq +0x6 /* 00006356 */
00006352 A023 syscall DisposHandle/DisposeHandle
00006354 60E6 bra -0x18 /* 0000633C */
label00006356:
00006356 4CDF 0600 movem.l A1,A2, [A7]+
0000635A 4E75 rts
fn0000635C:
0000635C 7200 moveq.l D1, 0x00
0000635E 1038 0291 move.b D0, [0x00000291 /* PortBUse */]
00006362 6B0A bmi +0xC /* 0000636E */
00006364 0200 000F andi.b D0, 0xF
00006368 5300 subq.b D0, 1
0000636A 6602 bne +0x4 /* 0000636E */
0000636C 7201 moveq.l D1, 0x01
label0000636E:
0000636E 1F41 0004 move.b [A7 + 0x4], D1
00006372 4E75 rts
export_106:
fn00006374:
00006374 4267 clr.w -[A7]
00006376 4EBA FFE4 jsr [PC - 0x1C /* 0000635C */]
0000637A 4240 clr.w D0
0000637C 4A1F tst.b [A7]+
0000637E 6632 bne +0x34 /* 000063B2 */
00006380 1238 0291 move.b D1, [0x00000291 /* PortBUse */]
00006384 6B04 bmi +0x6 /* 0000638A */
00006386 709F moveq.l D0, 0xFFFFFF9F
00006388 6028 bra +0x2A /* 000063B2 */
label0000638A:
0000638A 1038 01FB move.b D0, [0x000001FB /* SPConfig */]
0000638E 0200 000F andi.b D0, 0xF
00006392 5300 subq.b D0, 1
00006394 6F04 ble +0x6 /* 0000639A */
00006396 709E moveq.l D0, 0xFFFFFF9E
00006398 6018 bra +0x1A /* 000063B2 */
label0000639A:
0000639A 9EFC 0032 sub.w A7, 0x32 /* '2' */
0000639E 204F movea.l A0, A7
000063A0 43FA FF20 lea.l A1, [PC - 0xE0 /* 000062C2, value 0x42E4D50, pstring ".MPP" */]
000063A4 2149 0012 move.l [A0 + 0x12], A1
000063A8 4228 001B clr.b [A0 + 0x1B]
000063AC A000 syscall Open/PBHOpen/HOpen
000063AE 4FEF 0032 lea.l A7, [A7 + 0x32]
label000063B2:
000063B2 3F40 0004 move.w [A7 + 0x4], D0
000063B6 4E75 rts
fn000063B8:
000063B8 4EBA FF7A jsr [PC - 0x86 /* 00006334 */]
000063BC 4267 clr.w -[A7]
000063BE 4EBA FFB4 jsr [PC - 0x4C /* 00006374 */]
000063C2 4A5F tst.w [A7]+
000063C4 3F40 0004 move.w [A7 + 0x4], D0
000063C8 4E75 rts
fn000063CA:
000063CA 4EBA FF68 jsr [PC - 0x98 /* 00006334 */]
000063CE 41EF 000C lea.l A0, [A7 + 0xC]
000063D2 343C F3E0 move.w D2, 0xF3E0
000063D6 3218 move.w D1, [A0]+
000063D8 6746 beq +0x48 /* 00006420 */
000063DA B258 cmp.w D1, [A0]+
000063DC 6242 bhi +0x44 /* 00006420 */
000063DE 2250 movea.l A1, [A0]
label000063E0:
000063E0 5341 subq.w D1, 1
000063E2 6714 beq +0x16 /* 000063F8 */
000063E4 5A49 addq.w A1, 5
000063E6 4242 clr.w D2
000063E8 1411 move.b D2, [A1]
000063EA D431 2001 add.b D2, [A1 + D2.w + 0x1]
000063EE D431 2002 add.b D2, [A1 + D2.w + 0x2]
000063F2 5602 addq.b D2, 3
000063F4 D2C2 add.w A1, D2
000063F6 60E8 bra -0x16 /* 000063E0 */
label000063F8:
000063F8 206F 0004 movea.l A0, [A7 + 0x4]
000063FC 10D9 move.b [A0]+, [A1]+
000063FE 10D9 move.b [A0]+, [A1]+
00006400 10D9 move.b [A0]+, [A1]+
00006402 10D9 move.b [A0]+, [A1]+
00006404 5249 addq.w A1, 1
00006406 7403 moveq.l D2, 0x03
00006408 202F 0008 move.l D0, [A7 + 0x8]
label0000640C:
0000640C 2040 movea.l A0, D0
0000640E 1211 move.b D1, [A1]
label00006410:
00006410 10D9 move.b [A0]+, [A1]+
00006412 5301 subq.b D1, 1
00006414 64FA bcc -0x4 /* 00006410 */
00006416 0680 0000 0022 addi.l D0, 0x22 /* '\"' */
0000641C 5342 subq.w D2, 1
0000641E 66EC bne -0x12 /* 0000640C */
label00006420:
00006420 225F movea.l A1, [A7]+
00006422 4FEF 0010 lea.l A7, [A7 + 0x10]
00006426 3E82 move.w [A7], D2
00006428 4ED1 jmp [A1]